summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix43.h
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-21 00:47:27 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-21 00:47:27 +0000
commitf812ca9f5b990e11fb2dcae41e802bc359519635 (patch)
tree5bd298e5fb90addc7daae34ac83f8b31f0907d1e /gcc/config/rs6000/aix43.h
parente2f08fad295d937cfc7dc9c0fe98a41127f68ecd (diff)
downloadgcc-f812ca9f5b990e11fb2dcae41e802bc359519635.tar.gz
* config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
in 64-bit mode. * glimits.h: Don't do #if defined for ARCH_PPC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35165 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix43.h')
-rw-r--r--gcc/config/rs6000/aix43.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index a9114b5acd0..e9ac22a961c 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -108,7 +108,7 @@ do { \
#undef CPP_SPEC
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
%{ansi: -D_ANSI_C_SOURCE}\
- %{maix64: -D__64BIT__ -D_ARCH_PPC}\
+ %{maix64: -D__64BIT__ -D_ARCH_PPC -D__LONG_MAX__=9223372036854775807L}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
%{pthread: -D_THREAD_SAFE}\
%(cpp_cpu)"