Commit 0f1d97b8 by Jim Wilson

(SIGNED_CHAR_SPEC): Use #if instead of ?:.

From-SVN: r8321
parent 086675cb
...@@ -45,9 +45,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -45,9 +45,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{!mcc:%{!mcf:-D__i960_KB -D__i960KB__ %{mic*:-D__i960KB}}}}}}}}}" %{!mcc:%{!mcf:-D__i960_KB -D__i960KB__ %{mic*:-D__i960KB}}}}}}}}}"
/* -mic* options make characters signed by default. */ /* -mic* options make characters signed by default. */
#define SIGNED_CHAR_SPEC \ /* Use #if rather than ?: because MIPS C compiler rejects ?: in
(DEFAULT_SIGNED_CHAR ? "%{funsigned-char:-D__CHAR_UNSIGNED__}" \ initializers. */
: "%{!fsigned-char:%{!mic*:-D__CHAR_UNSIGNED__}}") #if DEFAULT_SIGNED_CHAR
#define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
#else
#define SIGNED_CHAR_SPEC "%{!fsigned-char:%{!mic*:-D__CHAR_UNSIGNED__}}"
#endif
/* Specs for the compiler, to handle processor variations. */ /* Specs for the compiler, to handle processor variations. */
#define CC1_SPEC \ #define CC1_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