diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a923a0631b..6014d213dce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-12-18 Kaz kojima + + * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): + Define. + 2002-12-17 Jason Merrill * genmultilib: Use 'cd ./foo'. diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h index c4f6171a5d0..186bc9a0af3 100644 --- a/gcc/config/sh/linux.h +++ b/gcc/config/sh/linux.h @@ -30,6 +30,13 @@ Boston, MA 02111-1307, USA. */ /* This was defined in linux.h. Define it here also. */ #define HANDLE_PRAGMA_PACK_PUSH_POP +/* Don't assume anything about the header files. */ +#define NO_IMPLICIT_EXTERN_C + +/* The GNU C++ standard library requires that these macros be defined. */ +#undef CPLUSPLUS_CPP_SPEC +#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" + /* Enable DWARF 2 exceptions. */ #undef DWARF2_UNWIND_INFO #define DWARF2_UNWIND_INFO 1