]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: debug: fix build warning on older compilers around DEBUG_STRICT_ACTION
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 16:57:19 +0000 (17:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Feb 2022 16:59:28 +0000 (17:59 +0100)
commit5a001a0e4d0ee2f877a5907045b11db5bc246170
tree38eabb2b64b17dae3f1415d535fb020c9d658b8e
parent8bc1759f609ef4e34d3b303b3c72517b4f4b2f4a
BUILD: debug: fix build warning on older compilers around DEBUG_STRICT_ACTION

The new macro was introduced with commit 86bcc5308 ("DEBUG: implement 4
levels of choices between warn and crash.") but some older compilers can
complain that we test the value when the macro is not defined despite
having already been checked in a previous #if directive. Let's just
repeat the test for the definition.
include/haproxy/bug.h