summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix43.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-07 19:10:57 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-07 19:10:57 +0000
commitea298e004c40ead8035640c50738bb597dbede96 (patch)
treea7a072178d71baabc22fd8272b4c9e7bc734a98a /gcc/config/rs6000/aix43.h
parent96842e40ff70c3f4f7050478d2c8b7ccb30be70e (diff)
downloadgcc-ea298e004c40ead8035640c50738bb597dbede96.tar.gz
* config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix43.h')
-rw-r--r--gcc/config/rs6000/aix43.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h
index 861bc452fff..3f08e771fe2 100644
--- a/gcc/config/rs6000/aix43.h
+++ b/gcc/config/rs6000/aix43.h
@@ -110,6 +110,19 @@ do { \
%{pthread: -D_THREAD_SAFE}\
%(cpp_cpu)"
+/* The GNU C++ standard library requires that these macros be
+ defined. */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC \
+ "-D_XOPEN_SOURCE=500 \
+ -D_XOPEN_SOURCE_EXTENDED=1 \
+ -D_LARGE_FILE_API \
+ -D_ALL_SOURCE \
+ %{maix64: -D__64BIT__ -D_ARCH_PPC -D__LONG_MAX__=9223372036854775807L}\
+ %{mpe: -I/usr/lpp/ppe.poe/include}\
+ %{pthread: -D_THREAD_SAFE}\
+ %(cpp_cpu)"
+
/* Common CPP definitions used by CPP_SPEC among the various targets
for handling -mcpu=xxx switches. */
#undef CPP_CPU_SPEC