diff options
author | Richard Stallman <rms@gnu.org> | 1992-09-17 19:45:49 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-09-17 19:45:49 +0000 |
commit | f396d2783cc9ceff0016fa9352c6133ca69766a3 (patch) | |
tree | ee7d7215dd9513c085b998e9059277726ba3ed81 /gcc | |
parent | b5ae93b42f40c8246f548e4053e59539c1bb2d4f (diff) | |
download | gcc-f396d2783cc9ceff0016fa9352c6133ca69766a3.zip gcc-f396d2783cc9ceff0016fa9352c6133ca69766a3.tar.gz gcc-f396d2783cc9ceff0016fa9352c6133ca69766a3.tar.bz2 |
(SIGNED_CHAR_SPEC): Use #if rather than ?...
(SIGNED_CHAR_SPEC): Use #if rather than ?: to handle
setting the default SIGNED_CHAR_SPEC macro, since the 3.0 version
of the MIPS C compiler doesn't like ?: in initializers.
From-SVN: r2145
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -356,9 +356,11 @@ proper position among the other output files. */ /* This spec is used for telling cpp whether char is signed or not. */ #ifndef SIGNED_CHAR_SPEC -#define SIGNED_CHAR_SPEC \ - (DEFAULT_SIGNED_CHAR ? "%{funsigned-char:-D__CHAR_UNSIGNED__}" \ - : "%{!fsigned-char:-D__CHAR_UNSIGNED__}") +#if DEFAULT_SIGNED_CHAR +#define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}" +#else +#define SIGNED_CHAR_SPEC "%{!fsigned-char:-D__CHAR_UNSIGNED__}" +#endif #endif static char *cpp_spec = CPP_SPEC; |