summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cross/sparc-netbsdelf/patches/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/cross/sparc-netbsdelf/patches/patch-ac b/cross/sparc-netbsdelf/patches/patch-ac
new file mode 100644
index 00000000000..29532ef1197
--- /dev/null
+++ b/cross/sparc-netbsdelf/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2000/05/07 01:17:55 mycroft Exp $
+
+--- gcc/config/sparc/netbsd.h.orig Sat May 6 21:01:21 2000
++++ gcc/config/sparc/netbsd.h Sat May 6 21:05:16 2000
+@@ -12,10 +12,10 @@
+ /* Make gcc agree with <machine/ansi.h> */
+
+ #undef SIZE_TYPE
+-#define SIZE_TYPE "unsigned int"
++#define SIZE_TYPE "unsigned long"
+
+ #undef PTRDIFF_TYPE
+-#define PTRDIFF_TYPE "int"
++#define PTRDIFF_TYPE "long"
+
+ #undef WCHAR_TYPE
+ #define WCHAR_TYPE "int"