Improve detection of builtins
jvoisin opened this issue · 1 comments
jvoisin commented
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.