From 34c66326b3a97e7b8f28f259775cb3cc4f523075 Mon Sep 17 00:00:00 2001 From: Gunther Nikl Date: Mon, 27 Mar 2017 17:53:35 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/system.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.30.2