summaryrefslogtreecommitdiff
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-10 23:06:43 +0000
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-10 23:06:43 +0000
commit267f30145a38d45d80de9b74f0ce0fbe9313c110 (patch)
tree8339410313356cefd600584f6740f63b83f645b4 /gcc/glimits.h
parentb6d28b197b7ff1893c7bb301f5c61dd5698e8ae5 (diff)
downloadgcc-267f30145a38d45d80de9b74f0ce0fbe9313c110.tar.gz
* glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22384 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 0e3228bab62..559e712d726 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 (__arch64__))
+#if defined (__alpha__) || defined (__sparc_v9__) || defined (__sparcv9)
#define __LONG_MAX__ 9223372036854775807L
#else
#define __LONG_MAX__ 2147483647L