summaryrefslogtreecommitdiff
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-03-12 22:24:57 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-03-12 22:24:57 +0000
commit672a6c5facfcfbab4fd4f1d826a4a76e43260c7e (patch)
treead8b67f450a0e7f37f22ddc589348ac38e680324 /gcc/glimits.h
parent84b462390023a5972a0a6a4b02be358a5a2de3f6 (diff)
downloadgcc-672a6c5facfcfbab4fd4f1d826a4a76e43260c7e.tar.gz
(__LONG_MAX__): on Alpha, use 64 bit value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11521 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/glimits.h')
-rw-r--r--gcc/glimits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/glimits.h b/gcc/glimits.h
index ff25a97ace3..d413427c7d6 100644
--- a/gcc/glimits.h
+++ b/gcc/glimits.h
@@ -63,7 +63,11 @@
/* Minimum and maximum values a `signed long int' can hold.
(Same as `int'). */
#ifndef __LONG_MAX__
+#ifndef __alpha__
#define __LONG_MAX__ 2147483647L
+#else
+#define __LONG_MAX__ 9223372036854775807L
+# endif /* __alpha__ */
#endif
#undef LONG_MIN
#define LONG_MIN (-LONG_MAX-1)