commit | 6d4c81db96ed28449cd2f753570830e21ace8fb9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jun 16 19:13:24 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 16 19:13:24 2020 +0200 |
tree | 8f0f5aff08fcc193e5f4c3446ba92fa4753e90ca | |
parent | 88bd9ee6a381993819704c979b3bc5a18e649025 [diff] |
MINOR: compiler: always define __has_feature() This macro is provided by clang but gcc lacks it. Not having it makes it painful to test features on both compilers. Better define it to zero when not available so that __has_feature(foo) never errors.