summaryrefslogtreecommitdiff
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-14 12:53:39 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-14 12:53:39 +0000
commit5b4e0d1e63338eed2a667331e398d8456bd93e49 (patch)
treec79c7b3df215c1d8b66e7b99a0b774586e6ed66a /gcc/glimits.h
parentdf791d814b6db2232c5cec4093d2733fdaa2bbed (diff)
downloadgcc-5b4e0d1e63338eed2a667331e398d8456bd93e49.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30917 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 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