commit | 1ee71dd7d9bfebfcd7d3d3b3da5ec4951aaef82f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Aug 30 10:15:35 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Sep 23 17:20:17 2021 +0200 |
tree | 9fc15982ad3da2e118a24e3d667c567f448f19d2 | |
parent | 42afc596c014312ec7354067cb38f8e8388d220c [diff] |
BUILD: tools: properly guard __GLIBC__ with defined() The test on the glibc versions based on #if (__GLIBC > 2 ...) fails to build under -Wundef, let's prepend defined(__GLIBC__) first. (cherry picked from commit 7b2108cad1aa963dae663bdabb3840132afbe6b5) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>