From: Gunther Nikl Date: Mon, 27 Mar 2017 17:53:35 +0000 (+0000) Subject: system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34c66326b3a97e7b8f28f259775cb3cc4f523075;p=gcc.git system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case. * system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case. (HAVE_DESIGNATED_UNION_INITIALIZERS): Likewise. From-SVN: r246506 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee07f7ba486..d219b8cc7be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-03-27 Gunther Nikl + + * system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case. + (HAVE_DESIGNATED_UNION_INITIALIZERS): Likewise. + 2017-03-27 Kelvin Nilsen PR target/80103 diff --git a/gcc/system.h b/gcc/system.h index c0f08a99ed1..0cbf60a28d0 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -581,7 +581,7 @@ extern int vsnprintf (char *, size_t, const char *, va_list); #define HAVE_DESIGNATED_INITIALIZERS 0 #else #define HAVE_DESIGNATED_INITIALIZERS \ - (((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L)) + ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L)) #endif #endif @@ -590,7 +590,7 @@ extern int vsnprintf (char *, size_t, const char *, va_list); #define HAVE_DESIGNATED_UNION_INITIALIZERS (GCC_VERSION >= 4007) #else #define HAVE_DESIGNATED_UNION_INITIALIZERS \ - (((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L)) + ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L)) #endif #endif