BUILD: compiler: reserve the gcc version checks to the gcc compiler
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Sep 2020 06:33:01 +0000 (08:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Sep 2020 06:35:28 +0000 (08:35 +0200)
commitd9537f6082b4ddacbfb0604b291c83c5256d223d
tree51b1614a2ac8a644fd97de2ecda81c9d24395e1f
parentf734ebfac4c406f245347527bd0e5831a251cc61
BUILD: compiler: reserve the gcc version checks to the gcc compiler

Some checks on __GNUC__ imply that if it's undefined it will match a
low value but that's not always what we want, like for example in the
VAR_ARRAY definition which is not needed on tcc. Let's always be explicit
on these tests.
include/haproxy/compiler.h