summaryrefslogtreecommitdiff
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>1999-12-14 13:53:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>1999-12-14 13:53:39 +0100
commitafdac905840a1d37db1ba2510bc3ecee7b307d8c (patch)
treec79c7b3df215c1d8b66e7b99a0b774586e6ed66a /gcc/glimits.h
parenta330e73b144e71ac85ba571f643a1bbc19794d08 (diff)
downloadgcc-afdac905840a1d37db1ba2510bc3ecee7b307d8c.tar.gz
xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64.
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64. * config/sparc/sparc.h: Likewise. * config/sparc/xm-sysv4-64.h: Likewise. * config/float-sparc.h: Likewise. * glimits.h: Likewise. * longlong.h: Likewise. From-SVN: r30917
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 559e712d726..93e7b8d69ef 100644
--- a/gcc/glimits.h
+++ b/gcc/glimits.h
@@ -64,7 +64,7 @@
/* Minimum and maximum values a `signed long int' can hold.
(Same as `int'). */
#ifndef __LONG_MAX__
-#if defined (__alpha__) || defined (__sparc_v9__) || defined (__sparcv9)
+#if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) || defined (__sparcv9)
#define __LONG_MAX__ 9223372036854775807L
#else
#define __LONG_MAX__ 2147483647L