PR for #16419.
I have gone through bitcoin_config.h
constants and removed defined where not needed.
The rationale was to remove the ones where the constant is defined in both config/bitcoin_config.h
and build_msvc/bitcoin_conf.h
and is declared as 1 or 0. If the constant is commented out or not declared at all in any of those config files, I left the check as #if defined(...)
, otherwise I changed the definition to #if ...
If there are any other cases where #if defined
is not needed, let me know and I’ll update the PR.