diff options
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/float.h | 7 | ||||
-rw-r--r-- | gcc/ginclude/stddef.h | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h index b78cc0ca6af..2954cc4896a 100644 --- a/gcc/ginclude/float.h +++ b/gcc/ginclude/float.h @@ -1,4 +1,5 @@ -/* Copyright (C) 2002, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2007, 2008, 2009, 2010, 2011 + Free Software Foundation, Inc. This file is part of GCC. @@ -157,7 +158,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #endif /* C99 */ -#if defined (__STDC_VERSION__) && __STDC_VERSION__ > 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L /* Versions of DECIMAL_DIG for each floating-point type. */ #undef FLT_DECIMAL_DIG #undef DBL_DECIMAL_DIG @@ -194,7 +195,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define LDBL_TRUE_MIN __LDBL_MIN__ #endif -#endif /* C1X */ +#endif /* C11 */ #ifdef __STDC_WANT_DEC_FP__ /* Draft Technical Report 24732, extension for decimal floating-point diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 1cc3cb4e75a..a78a7703387 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -412,7 +412,7 @@ typedef __WINT_TYPE__ wint_t; /* Offset of member MEMBER in a struct of type TYPE. */ #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) -#if (defined (__STDC_VERSION__) && __STDC_VERSION__ > 199901L) \ +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \ || (defined(__cplusplus) && __cplusplus >= 201103L) #ifndef _GCC_MAX_ALIGN_T #define _GCC_MAX_ALIGN_T @@ -424,7 +424,7 @@ typedef struct { long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); } max_align_t; #endif -#endif /* C1X or C++11. */ +#endif /* C11 or C++11. */ #endif /* _STDDEF_H was defined this time */ |