define __LONG_MAX__ in CPP_PREDEFINES instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44879
138bc75d-0d04-0410-961f-
82ee72b054a4
+2001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
+
+ * glimits.h: Remove the __LONG_MAX__ special case for s390x.
+ * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
+
2001-08-13 Richard Henderson <rth@redhat.com>
* config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
/* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Dlinux -Asystem(linux) -Acpu(s390) -Amachine(s390) -D__s390x__ -Asystem(unix) -Dunix -D__ELF__"
-
+#define CPP_PREDEFINES \
+ "-Dlinux -Asystem(linux) -Acpu(s390) -Amachine(s390) -D__s390x__ \
+ -Asystem(unix) -Dunix -D__ELF__ \
+ -D__LONG_MAX__=9223372036854775807L"
#undef LINK_SPEC
#ifdef CROSS_COMPILE
/* 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) || defined (__s390x__)
+#if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) || defined (__sparcv9)
#define __LONG_MAX__ 9223372036854775807L
#else
#define __LONG_MAX__ 2147483647L