]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: Threads: Only use the gcc >= 4.7 builtins when using gcc >= 4.7.
authorOlivier Houchard <cognet@ci0.org>
Mon, 15 Apr 2019 19:14:25 +0000 (21:14 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 15 Apr 2019 19:16:24 +0000 (21:16 +0200)
commit3212a2c438643d5b6408d13d767adab8f8eae32a
tree7da3b7da7c36025347d4032549e92bddfb7f5004
parente5eef1f1b40325b1f0ba0a8746536e711518a44d
BUG/MEDIUM: Threads: Only use the gcc >= 4.7 builtins when using gcc >= 4.7.

Move the definition of the various _HA_ATOMIC_* macros that use
__atomic_* in the #if GCC_VERSION >= 4.7, not just after it, so that we
can build with older versions of gcc again.
include/common/hathreads.h