From c75b6ee3bdcfb28594b907debc2a651c70dbe91b Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 7 Nov 1992 19:16:32 +0000 Subject: [PATCH] (STARTFILE_SPEC): Fix line wrap. (SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. From-SVN: r2711 --- gcc/config/i386/sco.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/sco.h b/gcc/config/i386/sco.h index 8f1c8a0533a..a14a5e2949b 100644 --- a/gcc/config/i386/sco.h +++ b/gcc/config/i386/sco.h @@ -19,7 +19,8 @@ /* Use crt1.o as a startup file and crtn.o as a closing file. */ #undef STARTFILE_SPEC -#define STARTFILE_SPEC "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s" +#define STARTFILE_SPEC \ + "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s" #define ENDFILE_SPEC "crtend.o%s crtn.o%s" @@ -37,6 +38,17 @@ #undef CPP_SPEC #define CPP_SPEC "%{scointl:-DM_INTERNAT}" +/* This spec is used for telling cpp whether char is signed or not. */ + +#undef SIGNED_CHAR_SPEC +#if DEFAULT_SIGNED_CHAR +#define SIGNED_CHAR_SPEC \ + "%{funsigned-char:-D__CHAR_UNSIGNED__ -D_CHAR_UNSIGNED}" +#else +#define SIGNED_CHAR_SPEC \ + "%{!fsigned-char:-D__CHAR_UNSIGNED__ -D_CHAR_UNSIGNED}" +#endif + /* Use atexit for static destructors, instead of defining our own exit function. */ #define HAVE_ATEXIT -- 2.30.2