summaryrefslogtreecommitdiff
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-10 22:54:59 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-10 22:54:59 +0000
commitf1fd52792672b3c4e8be5e7745ac2137052aef12 (patch)
tree3f6ecc7c67262a1d64732218aa2d49bc6895bd4b /gcc/glimits.h
parentb2bc172289203c9af7018d94b1b322989df9bfb8 (diff)
downloadgcc-f1fd52792672b3c4e8be5e7745ac2137052aef12.tar.gz
s390x needs 64-bit __LONG_MAX__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44781 138bc75d-0d04-0410-961f-82ee72b054a4
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