diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/sh/linux.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a923a0..6014d21 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-12-18 Kaz kojima <kkojima@gcc.gnu.org> + + * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): + Define. + 2002-12-17 Jason Merrill <jason@redhat.com> * genmultilib: Use 'cd ./foo'. diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h index c4f6171..186bc9a 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 |
