From: Michael Meissner Date: Tue, 11 Feb 1992 23:11:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a85d0d72571497eb154eda5a567107a35f8b81f;p=gcc.git *** empty log message *** From-SVN: r300 --- diff --git a/gcc/config/mips/bsd-4.h b/gcc/config/mips/bsd-4.h index 8ebc1abe34d..39907961d57 100644 --- a/gcc/config/mips/bsd-4.h +++ b/gcc/config/mips/bsd-4.h @@ -29,8 +29,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ %{ZSYSV: -I/sysv/usr/include}} \ %{.S: -D__LANGUAGE_ASSEMBLY__ \ -D_LANGUAGE_ASSEMBLY \ - %{!ansi: -DLANGUAGE_ASSEMBLY}} \ - %{!.S: -D__LANGUAGE_C__ \ + %{!ansi:-DLANGUAGE_ASSEMBLY}} \ + %{.cc: -D__LANGUAGE_C_PLUS_PLUS__ \ + -D_LANGUAGE_C_PLUS_PLUS \ + %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \ + %{.cxx:-D__LANGUAGE_C_PLUS_PLUS__ \ + -D_LANGUAGE_C_PLUS_PLUS \ + %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \ + %{.C: -D__LANGUAGE_C_PLUS_PLUS__ \ + -D_LANGUAGE_C_PLUS_PLUS \ + %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \ + %{.m: -D__LANGUAGE_OBJECTIVE_C__ \ + -D_LANGUAGE_OBJECTIVE_C \ + %{!ansi:-DLANGUAGE_OBJECTIVE_C}} \ + %{!.S: -D__LANGUAGE_C__ \ -D_LANGUAGE_C \ %{!ansi:-DLANGUAGE_C}}" diff --git a/gcc/config/mips/news4.h b/gcc/config/mips/news4.h index 2938e1ce76f..45d10bf5b1a 100644 --- a/gcc/config/mips/news4.h +++ b/gcc/config/mips/news4.h @@ -33,8 +33,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define CPP_SPEC "-I/usr/include2.0 \ %{.S: -D__LANGUAGE_ASSEMBLY__ \ -D_LANGUAGE_ASSEMBLY \ - %{!ansi: -DLANGUAGE_ASSEMBLY}} \ - %{!.S: -D__LANGUAGE_C__ \ + %{!ansi:-DLANGUAGE_ASSEMBLY}} \ + %{.cc: -D__LANGUAGE_C_PLUS_PLUS__ \ + -D_LANGUAGE_C_PLUS_PLUS \ + %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \ + %{.cxx:-D__LANGUAGE_C_PLUS_PLUS__ \ + -D_LANGUAGE_C_PLUS_PLUS \ + %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \ + %{.C: -D__LANGUAGE_C_PLUS_PLUS__ \ + -D_LANGUAGE_C_PLUS_PLUS \ + %{!ansi:-DLANGUAGE_C_PLUS_PLUS}} \ + %{.m: -D__LANGUAGE_OBJECTIVE_C__ \ + -D_LANGUAGE_OBJECTIVE_C \ + %{!ansi:-DLANGUAGE_OBJECTIVE_C}} \ + %{!.S: -D__LANGUAGE_C__ \ -D_LANGUAGE_C \ %{!ansi:-DLANGUAGE_C}}"