This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] AIX 5.2 _XOPEN_SOURCE definition
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Jan 2005 12:57:21 -0500
- Subject: [PATCH, committed] AIX 5.2 _XOPEN_SOURCE definition
Updates to AIX 5.2 make it more conformant with the latest
versions of X/OPEN, necessitating updating the macro definition implicitly
defined by GCC to get all necessary function declarations.
David
* config/rs6000/aix52.h (CPLUSPLUS_CPP_SPEC): Change _XOPEN_SOURCE
definition to 600.
Index: aix52.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/aix52.h,v
retrieving revision 1.9
diff -c -p -r1.9 aix52.h
*** aix52.h 14 Nov 2004 03:32:11 -0000 1.9
--- aix52.h 13 Jan 2005 17:49:35 -0000
*************** do { \
*** 106,112 ****
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 \
--- 106,112 ----
defined. */
#undef CPLUSPLUS_CPP_SPEC
#define CPLUSPLUS_CPP_SPEC \
! "-D_XOPEN_SOURCE=600 \
-D_XOPEN_SOURCE_EXTENDED=1 \
-D_LARGE_FILE_API \
-D_ALL_SOURCE \