diff options
author | W. J. van der Laan <laanwj@protonmail.com> | 2021-09-16 20:05:07 +0200 |
---|---|---|
committer | W. J. van der Laan <laanwj@protonmail.com> | 2021-09-16 20:09:37 +0200 |
commit | 82a85216c3a3164887428724f9545cad4f285d79 (patch) | |
tree | 25fb3c635349bc663f762cd20cb367be3f083690 /src/node | |
parent | 71bdf0bff1be4df824099d69b03459d6dab5f80c (diff) | |
parent | 3ec633ef1a99d3a71c19ab5563a82bc275659d2e (diff) | |
download | bitcoin-82a85216c3a3164887428724f9545cad4f285d79.tar.xz |
Merge bitcoin/bitcoin#22845: build: improve check for ::(w)system
3ec633ef1a99d3a71c19ab5563a82bc275659d2e build: improve check for ::(w)system (fanquake)
Pull request description:
`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 setting `have_any_system` in either case, given we don't actually use `HAVE_STD__SYSTEM` or `HAVE_WSYSTEM`, and defining `HAVE_SYSTEM` to 1 thereafter.
ACKs for top commit:
laanwj:
Code review ACK 3ec633ef1a99d3a71c19ab5563a82bc275659d2e
Tree-SHA512: 02c39ba3179136ec1dc28df026b7fa5d732914c85622298ba7ec880f1ae9324208d322a47be451a5c2ff2e165ad1d446bae92e7018db8e517e7ac38fca25a0a3
Diffstat (limited to 'src/node')
0 files changed, 0 insertions, 0 deletions