]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: compiler: undefine the CONCAT() macro if already defined
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Apr 2025 09:36:43 +0000 (11:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Apr 2025 09:36:43 +0000 (11:36 +0200)
commit4ec5509541e29956107011d45c971a9fe3a430f1
tree9036caf1e2fefe76816a7f43507117a29ce2a8ca
parenta703eeaef75a068557abe0e13cc3c66fe426232a
BUILD: compiler: undefine the CONCAT() macro if already defined

As Ilya reported in issue #2911, the CONCAT() macro breaks on NetBSD
which defines its own as __CONCAT() (which is exactly the same). Let's
just undefine it before ours to fix the issue instead of renaming, but
keep ours so that we don't have doubts about what we're running with.

Note that the patch introducing this breaking change was backported
to 3.0.
include/haproxy/compiler.h