aboutsummaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-08-31 20:36:01 +0800
committerfanquake <fanquake@gmail.com>2021-09-10 09:20:35 +0800
commit3ec633ef1a99d3a71c19ab5563a82bc275659d2e (patch)
tree1d7d214e3f9f6ba7d173e708ee48f0d1c9c6b5ce /src/init
parentd2dd1697cee9d6d0f13f9cb351bce84eaa4a72b4 (diff)
build: improve check for ::(w)system
`AC_DEFINE()` takes `HAVE_STD__SYSTEM || HAVE_WSYSTEM` literally, meaning you end up with the following in bitcoin-config.h: ```cpp /* std::system or ::wsystem */ #define HAVE_SYSTEM HAVE_STD__SYSTEM || HAVE_WSYSTEM ``` This works for the preprocessor, because `HAVE_SYSTEM`, is defined, just unusually. Remove this in favor of defining `HAVE_SYSTEM` to 1 in either case, given we don't actually use `HAVE_STD__SYSTEM` or `HAVE_WSYSTEM`. We just use ::system if we aren't building for Windows.
Diffstat (limited to 'src/init')
0 files changed, 0 insertions, 0 deletions