Files
haproxy/include/haproxy
Willy Tarreau 2b080f713f BUILD: compiler: add a default definition for __has_attribute()
It happens that gcc since 5.x has this macro which is only mentioned
once in the doc, associated with __builtin_has_attribute(). Clang had
it at least since 3.0. In addition it validates #ifdef when present,
so it's easy to detect it. Here we're providing a fallback to another
macro __has_attribute_<name> so that it's possible to define that macro
to the value 1 for older compilers when the attribute is supported.
2022-11-14 11:14:02 +01:00
..
2022-09-12 19:33:07 +02:00
2022-04-22 15:45:47 +02:00
2022-09-09 17:23:01 +02:00
2022-10-03 16:25:17 +02:00
2022-05-31 17:05:27 +02:00