summaryrefslogtreecommitdiff
path: root/lang/gcc27/files/patch-glimits.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-03-22 19:10:42 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-03-22 19:10:42 +0000
commit910033a07677949c4e92a8848f5f15b8cde63a0b (patch)
tree45b411beaffa330eddbe13d6e002c0fb1afe6ec9 /lang/gcc27/files/patch-glimits.h
parentFix the URL in one of the MASTER_SITES. (diff)
Port of the GCC 2.7.2.3 that was the base compiler in FreeBSD 2.2.x thru 3.x.
Notes
Notes: svn path=/head/; revision=26961
Diffstat (limited to 'lang/gcc27/files/patch-glimits.h')
-rw-r--r--lang/gcc27/files/patch-glimits.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/gcc27/files/patch-glimits.h b/lang/gcc27/files/patch-glimits.h
new file mode 100644
index 000000000000..4c1f7dd5462d
--- /dev/null
+++ b/lang/gcc27/files/patch-glimits.h
@@ -0,0 +1,15 @@
+--- glimits.h.orig Wed Sep 29 14:30:54 1993
++++ glimits.h Mon Mar 20 13:29:11 2000
+@@ -63,7 +63,11 @@
+ /* Minimum and maximum values a `signed long int' can hold.
+ (Same as `int'). */
+ #ifndef __LONG_MAX__
+-#define __LONG_MAX__ 2147483647L
++# ifndef __alpha__
++# define __LONG_MAX__ 2147483647L
++# else
++# define __LONG_MAX__ 9223372036854775807L
++# endif /* __alpha__ */
+ #endif
+ #undef LONG_MIN
+ #define LONG_MIN (-LONG_MAX-1)