summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/glimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/gcc/glimits.h')
-rw-r--r--gnu/egcs/gcc/glimits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/glimits.h b/gnu/egcs/gcc/glimits.h
index 559e712d726..2878051f625 100644
--- a/gnu/egcs/gcc/glimits.h
+++ b/gnu/egcs/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 (_ARCH_PPC) && defined (__64BIT__)) || defined (__sparc_v9__) || defined (__sparcv9)
#define __LONG_MAX__ 9223372036854775807L
#else
#define __LONG_MAX__ 2147483647L