system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case.
authorGunther Nikl <gnikl@users.sourceforge.net>
Mon, 27 Mar 2017 17:53:35 +0000 (17:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 27 Mar 2017 17:53:35 +0000 (11:53 -0600)
* system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case.
(HAVE_DESIGNATED_UNION_INITIALIZERS): Likewise.

From-SVN: r246506

gcc/ChangeLog
gcc/system.h

index ee07f7ba486babe6dc3648bb3b208d1edd27eb7a..d219b8cc7bee6c060121ca4e376948b38b4ecaa6 100644 (file)
@@ -1,3 +1,8 @@
+2017-03-27  Gunther Nikl  <gnikl@users.sourceforge.net>
+
+       * system.h (HAVE_DESIGNATED_INITIALIZERS): Fix non C++ case.
+       (HAVE_DESIGNATED_UNION_INITIALIZERS): Likewise.
+
 2017-03-27  Kelvin Nilsen  <kelvin@gcc.gnu.org>
 
        PR target/80103
index c0f08a99ed10478d66289a825a8bc14cd8c2c466..0cbf60a28d059053d18c135547a7d9150a5d5212 100644 (file)
@@ -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