summaryrefslogtreecommitdiff
path: root/lang/pgcc/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pgcc/patches/patch-an')
-rw-r--r--lang/pgcc/patches/patch-an11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/pgcc/patches/patch-an b/lang/pgcc/patches/patch-an
new file mode 100644
index 00000000000..b384a08a2ac
--- /dev/null
+++ b/lang/pgcc/patches/patch-an
@@ -0,0 +1,11 @@
+$NetBSD: patch-an,v 1.1 2002/03/14 14:54:53 wiz Exp $
+
+--- ../gcc-2.95.2/gcc/config/xm-target64.h.orig Sat Sep 16 00:17:42 2000
++++ ../gcc-2.95.2/gcc/config/xm-target64.h Sat Sep 16 00:17:42 2000
+@@ -0,0 +1,6 @@
++/* Hack to extend HOST_WIDE_INT on 64-bit target cross compilers. */
++
++#ifdef __GNUC__
++#define HOST_WIDE_INT long long
++#define HOST_BITS_PER_WIDE_INT 64
++#endif