]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compiler: add more macros to detect macro definitions
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 06:56:56 +0000 (08:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2025 18:21:06 +0000 (20:21 +0200)
commit5ac280f2a7bc36d5c288844b920c9ee8e1d1a6eb
treeb46fdb5acbce62279e8f92269b3b331fbd126895
parent32b2b782e2a1b22834c4284314cafdb884cf74ee
MINOR: compiler: add more macros to detect macro definitions

We add __equals_0(NAME) which is only true if NAME is defined as zero,
and __def_as_empty(NAME) which is only true if NAME is defined as an
empty string.
include/haproxy/compiler.h