(CPP_SPEC): Add -Dsun.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 1994 23:16:45 +0000 (23:16 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 1994 23:16:45 +0000 (23:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6445 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/sol2.h

index 11c78f4..9f80162 100644 (file)
@@ -32,6 +32,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define FORCE_INIT_SECTION_ALIGN do { asm (ALIGN_ASM_OP ## " 16"); } while (0)
 
+/* Add "sun" to the list of symbols defined for SVR4.  */
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES \
+  "-Di386 -Dunix -D__svr4__ -Dsun \
+   -Asystem(unix) -Asystem(svr4) -Acpu(i386) -Amachine(i386)"
+
 #undef CPP_SPEC
 #define CPP_SPEC "\
    %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude}"