Commit f396d278 by Richard Stallman

(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
parent b5ae93b4
...@@ -356,9 +356,11 @@ proper position among the other output files. */ ...@@ -356,9 +356,11 @@ proper position among the other output files. */
/* This spec is used for telling cpp whether char is signed or not. */ /* This spec is used for telling cpp whether char is signed or not. */
#ifndef SIGNED_CHAR_SPEC #ifndef SIGNED_CHAR_SPEC
#define SIGNED_CHAR_SPEC \ #if DEFAULT_SIGNED_CHAR
(DEFAULT_SIGNED_CHAR ? "%{funsigned-char:-D__CHAR_UNSIGNED__}" \ #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
: "%{!fsigned-char:-D__CHAR_UNSIGNED__}") #else
#define SIGNED_CHAR_SPEC "%{!fsigned-char:-D__CHAR_UNSIGNED__}"
#endif
#endif #endif
static char *cpp_spec = CPP_SPEC; static char *cpp_spec = CPP_SPEC;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment