jvoisin/fortify-headers

Improve detection of builtins

jvoisin opened this issue · 1 comments

clang's documentation says:

__has_builtin should not be used to detect support for a builtin macro; use #ifdef instead.

So I guess we'll have to use something like #if defined(foo) || __has_builtin(foo), sigh.

Done in 1a84314