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:
Saleem Abdulrasool 2015-10-07 03:30:02 +00:00
parent 396e794459
commit e597ace1fe
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
*/ */
#if __has_builtin(__builtin_isfinite) #if __has_builtin(__builtin_isfinite)
# define crt_isfinite(x) __builtin_isfinite((x)) # define crt_isfinite(x) __builtin_isfinite((x))
#elif defined(__GNU__) #elif defined(__GNUC__)
# define crt_isfinite(x) \ # define crt_isfinite(x) \
__extension__(({ \ __extension__(({ \
__typeof((x)) x_ = (x); \ __typeof((x)) x_ = (x); \