libstdc++: Add parentheses around _GLIBCXX_HAS_BUILTIN definition
This allows _GLIBCXX_HAS_BUILTIN (or _GLIBCXX_USE_BUILTIN_TRAIT) to be used as part of a larger logical expression. libstdc++-v3/ChangeLog: * include/bits/c++config (_GLIBCXX_HAS_BUILTIN): Add parentheses.
This commit is contained in:
parent
e8ad697a75
commit
57f65c5c02
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ namespace __gnu_cxx
|
|||
#ifdef __has_builtin
|
||||
# ifdef __is_identifier
|
||||
// Intel and older Clang require !__is_identifier for some built-ins:
|
||||
# define _GLIBCXX_HAS_BUILTIN(B) __has_builtin(B) || ! __is_identifier(B)
|
||||
# define _GLIBCXX_HAS_BUILTIN(B) (__has_builtin(B) || ! __is_identifier(B))
|
||||
# else
|
||||
# define _GLIBCXX_HAS_BUILTIN(B) __has_builtin(B)
|
||||
# endif
|
||||
|
|
Loading…
Add table
Reference in a new issue