diff options
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h index ba2e96364f1..e57787b6fc2 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -729,7 +729,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; #define gcc_unreachable() (fancy_abort (__FILE__, __LINE__, __FUNCTION__)) #endif -#if GCC_VERSION >= 3001 +#if GCC_VERSION >= 3001 && defined HAVE_WORKING_CXX_BUILTIN_CONSTANT_P #define STATIC_CONSTANT_P(X) (__builtin_constant_p (X) && (X)) #else #define STATIC_CONSTANT_P(X) (false && (X)) |