From 56015ceeb5303ecc35444b1d3d5efbaa79e5f030 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 18 Jan 2005 17:15:08 +0000 Subject: [PATCH] aix43.h (CPLUSPLUS_CPP_SPEC): Delete _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, _LARGE_FILE_API. * config/rs6000/aix43.h (CPLUSPLUS_CPP_SPEC): Delete _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, _LARGE_FILE_API. * config/rs6000/aix51.h (CPLUSPLUS_CPP_SPEC): Same. * config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Same. From-SVN: r93839 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/aix43.h | 5 +---- gcc/config/rs6000/aix51.h | 7 ++----- gcc/config/rs6000/aix52.h | 5 +---- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29865413cfa..396f7ce96e4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-01-18 David Edelsohn + + * config/rs6000/aix43.h (CPLUSPLUS_CPP_SPEC): Delete + _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, _LARGE_FILE_API. + * config/rs6000/aix51.h (CPLUSPLUS_CPP_SPEC): Same. + * config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Same. + 2005-01-18 Joel Sherrill PR target/19379 diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h index 8e2d6866f32..f5b6e17227f 100644 --- a/gcc/config/rs6000/aix43.h +++ b/gcc/config/rs6000/aix43.h @@ -116,10 +116,7 @@ do { \ 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 \ + "-D_ALL_SOURCE \ %{maix64: -D__64BIT__} \ %{mpe: -I/usr/lpp/ppe.poe/include} \ %{pthread: -D_THREAD_SAFE}" diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h index ea0b61297a7..033431be7c3 100644 --- a/gcc/config/rs6000/aix51.h +++ b/gcc/config/rs6000/aix51.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for IBM RS/6000 POWER running AIX V5. - Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by David Edelsohn (edelsohn@gnu.org). This file is part of GCC. @@ -118,10 +118,7 @@ do { \ 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 \ + "-D_ALL_SOURCE \ %{maix64: -D__64BIT__} \ %{mpe: -I/usr/lpp/ppe.poe/include} \ %{pthread: -D_THREAD_SAFE}" diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h index e80a57c3126..29646f82bcd 100644 --- a/gcc/config/rs6000/aix52.h +++ b/gcc/config/rs6000/aix52.h @@ -106,10 +106,7 @@ do { \ defined. Synchronize with libstdc++ os_defines.h. */ #undef CPLUSPLUS_CPP_SPEC #define CPLUSPLUS_CPP_SPEC \ - "-D_XOPEN_SOURCE=500 \ - -D_XOPEN_SOURCE_EXTENDED=1 \ - -D_LARGE_FILE_API \ - -D_ALL_SOURCE \ + "-D_ALL_SOURCE \ %{maix64: -D__64BIT__} \ %{mpe: -I/usr/lpp/ppe.poe/include} \ %{pthread: -D_THREAD_SAFE}" -- 2.30.2