diff options
Diffstat (limited to 'tests/test-stdint.c')
-rw-r--r-- | tests/test-stdint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-stdint.c b/tests/test-stdint.c index dc6fad7aa6..737ff56c89 100644 --- a/tests/test-stdint.c +++ b/tests/test-stdint.c @@ -247,9 +247,10 @@ uintmax_t j[2] = { UINTMAX_C (17), UINTMAX_MAX }; verify (TYPE_MAXIMUM (uintmax_t) == UINTMAX_MAX); verify_same_types (UINTMAX_MAX, (uintmax_t) 0 + 0); -/* As of 2007, Sun C and HP-UX 10.20 cc don't support 'long long' constants in +/* Older Sun C and HP-UX 10.20 cc don't support 'long long' constants in the preprocessor. */ -#if !(defined __SUNPRO_C || (defined __hpux && !defined __GNUC__)) +#if !((defined __SUNPRO_C && __SUNPRO_C < 0x5150) \ + || (defined __hpux && !defined __GNUC__)) #if INTMAX_MIN && INTMAX_MAX && UINTMAX_MAX /* ok */ #else |