This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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				\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]