From c08f800e9a244f29fd5e4124ed1ed6e3205aca25 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 7 Dec 2004 22:47:41 +0000 Subject: [PATCH] re PR target/16317 (MIPS-netbsd does not define NO_IMPLICIT_EXTERN_C) 2004-12-07 Eric Christopher PR target/16317 * config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r91831 --- gcc/ChangeLog | 5 +++++ gcc/config/netbsd.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb4c7f657e7..71c594b65ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-12-07 Eric Christopher + + PR target/16317 + * config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define. + 2004-12-07 Eric Christopher * config/mips/mips-protos.h (mips_valid_pointer_mode): Move diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 7b3cc3b5651..2c078af8898 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -163,6 +163,9 @@ Boston, MA 02111-1307, USA. */ #define HANDLE_SYSV_PRAGMA 1 +/* Don't assume anything about the header files. */ +#undef NO_IMPLICIT_EXTERN_C +#define NO_IMPLICIT_EXTERN_C 1 /* Define some types that are the same on all NetBSD platforms, making them agree with . */