alpha.h (TARGET_CPU_CPP_BUILTINS): Replace reference to clk_objective_c with flag_objc.

2002-08-10  Ziemowit Laski  <zlaski@apple.com>

        * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
        reference to clk_objective_c with flag_objc.
        * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
        Likewise.
        * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.

From-SVN: r56189
This commit is contained in:
Ziemowit Laski 2002-08-11 06:20:08 +00:00 committed by Ziemowit Laski
parent f749a36bbe
commit 2516f23628
4 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2002-08-10 Ziemowit Laski <zlaski@apple.com>
* config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
reference to clk_objective_c with flag_objc.
* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
Likewise.
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
2002-08-10 Neil Booth <neil@daikokuya.co.uk>
* c-opts.c (set_std_cxx98, set_std_c89): New.

View File

@ -78,7 +78,7 @@ Boston, MA 02111-1307, USA. */
builtin_define ("__LANGUAGE_C_PLUS_PLUS"); \
builtin_define ("__LANGUAGE_C_PLUS_PLUS__");\
} \
else if (c_language == clk_objective_c) \
if (flag_objc) \
{ \
builtin_define ("__LANGUAGE_OBJECTIVE_C"); \
builtin_define ("__LANGUAGE_OBJECTIVE_C__");\

View File

@ -72,7 +72,7 @@ Boston, MA 02111-1307, USA. */
builtin_define_std ("LANGUAGE_C"); \
if (c_language == clk_cplusplus) \
builtin_define_std ("LANGUAGE_C_PLUS_PLUS"); \
else if (c_language == clk_objective_c) \
if (flag_objc) \
builtin_define_std ("LANGUAGE_OBJECTIVE_C"); \
} \
} \

View File

@ -488,7 +488,7 @@ extern void sbss_section PARAMS ((void));
builtin_define ("__LANGUAGE_C_PLUS_PLUS"); \
builtin_define ("__LANGUAGE_C_PLUS_PLUS__"); \
} \
else if (c_language == clk_objective_c) \
if (flag_objc) \
{ \
builtin_define ("_LANGUAGE_OBJECTIVE_C"); \
builtin_define ("__LANGUAGE_OBJECTIVE_C"); \