diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-07 19:10:57 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-02-07 19:10:57 +0000 |
commit | 830a95f892afa094e134511ae4ae871f0dd090b4 (patch) | |
tree | a7a072178d71baabc22fd8272b4c9e7bc734a98a /gcc | |
parent | a9374841850fb444b6de78ff169b88dc03766d83 (diff) | |
download | gcc-830a95f892afa094e134511ae4ae871f0dd090b4.zip gcc-830a95f892afa094e134511ae4ae871f0dd090b4.tar.gz gcc-830a95f892afa094e134511ae4ae871f0dd090b4.tar.bz2 |
* config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
From-SVN: r39525
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/aix43.h | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 285097e..25ed293 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2001-02-07 Mark Mitchell <mark@codesourcery.com> + * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it. + * defaults.h (CPLUSPLUS_CPP_SPEC): New macro. * gcc.c (struct compiler): Add cpp_spec field. (input_file_compiler): New variable. diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h index 861bc45..3f08e77 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 |