forked from OSchip/llvm-project
builtins: fix build
__GNUC__ indicates the GNU compiler, not __GNU__. This got through due to building with clang rather than gcc. llvm-svn: 249516
This commit is contained in:
parent
396e794459
commit
e597ace1fe
|
@ -48,7 +48,7 @@
|
|||
*/
|
||||
#if __has_builtin(__builtin_isfinite)
|
||||
# define crt_isfinite(x) __builtin_isfinite((x))
|
||||
#elif defined(__GNU__)
|
||||
#elif defined(__GNUC__)
|
||||
# define crt_isfinite(x) \
|
||||
__extension__(({ \
|
||||
__typeof((x)) x_ = (x); \
|
||||
|
|
Loading…
Reference in New Issue