It seems that AC_DEFINE([HAVE_SYSTEM], [HAVE_STD__SYSTEM || HAVE_WSYSTEM]
causes HAVE_SYSTEM
to always be defined, so we need to use #if HAVE_SYSTEM
instead of #if defined(HAVE_SYSTEM)
.
build: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM) #16344
pull Sjors wants to merge 1 commits into bitcoin:master from Sjors:2019/07/system-ifdef changing 6 files +9 −9-
Sjors commented at 4:39 pm on July 5, 2019: member
-
[build]: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM) 976b034b13
-
fanquake added the label Build system on Jul 5, 2019
-
qmma70 commented at 0:13 am on July 6, 2019: contributorApproach ACK.
AC_DEFINE
will always define the pre-processor symbol. -
fanquake requested review from dongcarl on Jul 6, 2019
-
promag commented at 2:57 pm on July 6, 2019: memberACK 976b034b13d28877aee641833d5ee28a8cc5d83f.
-
dongcarl commented at 5:08 pm on July 6, 2019: member
ACK https://github.com/bitcoin/bitcoin/pull/16344/commits/976b034b13d28877aee641833d5ee28a8cc5d83f.
Perhaps (in another PR/issue) we should make sure that for other preprocessor symbols we mean
define(FOOBAR)
when we say it. @fanquake does that sound reasonable? -
fanquake renamed this:
[build]: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM)
build: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM)
on Jul 7, 2019 -
fanquake approved
-
fanquake commented at 2:36 am on July 7, 2019: member
ACK 976b034b13d28877aee641833d5ee28a8cc5d83f
Tested on my macOS system with master (584168c7f9d9e78a3bf82ab85b52feb0ced67f9d) and with #12557.
Perhaps (in another PR/issue) we should make sure that for other preprocessor symbols we mean define(FOOBAR) when we say it. @fanquake does that sound reasonable? @dongcarl yes that sounds like a good idea.
-
fanquake merged this on Jul 7, 2019
-
fanquake closed this on Jul 7, 2019
-
fanquake referenced this in commit f373beebbc on Jul 7, 2019
-
Sjors deleted the branch on Jul 7, 2019
-
PastaPastaPasta referenced this in commit 79e5eb8a63 on Oct 22, 2021
-
MarcoFalke locked this on Dec 16, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me