]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s390x needs 64-bit __LONG_MAX__.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 10 Aug 2001 22:54:59 +0000 (22:54 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Fri, 10 Aug 2001 22:54:59 +0000 (22:54 +0000)
From-SVN: r44781

gcc/ChangeLog
gcc/glimits.h

index 219130da0d6a41e9e7ea78cd0e37cde8d8a4a7a2..fdf34944c394d13333c5610dd32f3ef0a9b87247 100644 (file)
@@ -1,3 +1,7 @@
+2001-08-10  Ulrich Weigand  <uweigand@de.ibm.com>
+       * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
+
 2001-08-10  Richard Henderson  <rth@redhat.com>
 
        * doc/extend.texi (C Implementation): New chapter.
index c3b83da15f9b78a91b2bbe864b1ac7470a80c75f..6bdcfefb88850fd54b48593e58175dcc5839d3ea 100644 (file)
@@ -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