summaryrefslogtreecommitdiff
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2001-08-10 22:54:59 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2001-08-10 22:54:59 +0000
commitdb80cc1f2a8b0c77b05a79d6fba30bf3c7f055b2 (patch)
tree3f6ecc7c67262a1d64732218aa2d49bc6895bd4b /gcc/glimits.h
parentfe203faf3c598dbfc85f3e33ce9a7f3731635b29 (diff)
downloadgcc-db80cc1f2a8b0c77b05a79d6fba30bf3c7f055b2.tar.gz
s390x needs 64-bit __LONG_MAX__.
From-SVN: r44781
Diffstat (limited to 'gcc/glimits.h')
-rw-r--r--gcc/glimits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/glimits.h b/gcc/glimits.h
index c3b83da15f9..6bdcfefb888 100644
--- a/gcc/glimits.h
+++ b/gcc/glimits.h
@@ -67,7 +67,7 @@
/* Minimum and maximum values a `signed long int' can hold.
(Same as `int'). */
#ifndef __LONG_MAX__
-#if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) || defined (__sparcv9)
+#if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) || defined (__sparcv9) || defined (__s390x__)
#define __LONG_MAX__ 9223372036854775807L
#else
#define __LONG_MAX__ 2147483647L