aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2004-12-07 22:47:41 +0000
committerEric Christopher <echristo@gcc.gnu.org>2004-12-07 22:47:41 +0000
commitc08f800e9a244f29fd5e4124ed1ed6e3205aca25 (patch)
tree7c8c0499f92ec9174d31a2d24f6c069c9f79e375
parent20c076a8531ba99cddd8260dae61150a5044ed3d (diff)
downloadgcc-c08f800e9a244f29fd5e4124ed1ed6e3205aca25.zip
gcc-c08f800e9a244f29fd5e4124ed1ed6e3205aca25.tar.gz
gcc-c08f800e9a244f29fd5e4124ed1ed6e3205aca25.tar.bz2
re PR target/16317 (MIPS-netbsd does not define NO_IMPLICIT_EXTERN_C)
2004-12-07 Eric Christopher <echristo@redhat.com> PR target/16317 * config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r91831
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/netbsd.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb4c7f6..71c594b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-12-07 Eric Christopher <echristo@redhat.com>
+ PR target/16317
+ * config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define.
+
+2004-12-07 Eric Christopher <echristo@redhat.com>
+
* config/mips/mips-protos.h (mips_valid_pointer_mode): Move
prototype...
* config/mips/mips.c: ... here. Make static.
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 7b3cc3b..2c078af 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 <machine/ansi.h>. */