aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-21 03:02:09 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-21 03:02:09 +0000
commit17ac16a1a5d5a6e2ef77aa2168cc0ce139ebf93c (patch)
tree80e209a711b33794aa660c7b9b5446df2cea567f /gcc/system.h
parentc687985bc21b85dfa1bb85c86719c99ed62670e7 (diff)
* config/rs6000/xm-darwin.h: New file, Darwin host definitions.
* config/rs6000/x-darwin: New file, Darwin host fragment. * config.gcc (powerpc-*-darwin*): New host. * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be overridden by a config file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37601 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index f0b7b649f8a..20531ddb4e5 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -429,8 +429,10 @@ extern void abort PARAMS ((void));
#endif
/* 1 if we have C99 designated initializers. */
+#if !defined(HAVE_DESIGNATED_INITIALIZERS)
#define HAVE_DESIGNATED_INITIALIZERS \
((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L))
+#endif
/* Define a STRINGIFY macro that's right for ANSI or traditional C.
Note: if the argument passed to STRINGIFY is itself a macro, eg