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]

[tree-ssa libmudflap] AIX defines


	The following defines allow libmudflap to build on AIX.  Approved
privately by Frank Ch. Eigler.

David


        * mf-runtime.c (_ALL_SOURCE): Define for AIX.
        (_LARGE_FILE_API): Define for AIX.
        * mf-hooks[123]: Same.
        (_XOPEN_SOURCE_EXTENDED): Define to 1 for AIX.

Index: mf-hooks1.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/Attic/mf-hooks1.c,v
retrieving revision 1.1.2.3
diff -c -p -r1.1.2.3 mf-hooks1.c
*** mf-hooks1.c	29 Jul 2003 18:13:02 -0000	1.1.2.3
--- mf-hooks1.c	4 Nov 2003 18:10:32 -0000
*************** XXX: libgcc license?
*** 18,23 ****
--- 18,26 ----
  #define _XOPEN_SOURCE
  #define _BSD_TYPES
  #define __EXTENSIONS__
+ #define _ALL_SOURCE
+ #define _LARGE_FILE_API
+ #define _XOPEN_SOURCE_EXTENDED 1
  
  #include <string.h>
  #include <stdio.h>
Index: mf-hooks2.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/Attic/mf-hooks2.c,v
retrieving revision 1.1.2.3
diff -c -p -r1.1.2.3 mf-hooks2.c
*** mf-hooks2.c	29 Jul 2003 19:32:40 -0000	1.1.2.3
--- mf-hooks2.c	4 Nov 2003 18:10:33 -0000
*************** XXX: libgcc license?
*** 18,23 ****
--- 18,26 ----
  #define _XOPEN_SOURCE
  #define _BSD_TYPES
  #define __EXTENSIONS__
+ #define _ALL_SOURCE
+ #define _LARGE_FILE_API
+ #define _XOPEN_SOURCE_EXTENDED 1
  
  #include <string.h>
  #include <strings.h>
Index: mf-hooks3.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/Attic/mf-hooks3.c,v
retrieving revision 1.1.2.3
diff -c -p -r1.1.2.3 mf-hooks3.c
*** mf-hooks3.c	29 Jul 2003 18:13:02 -0000	1.1.2.3
--- mf-hooks3.c	4 Nov 2003 18:10:33 -0000
*************** XXX: libgcc license?
*** 18,23 ****
--- 18,26 ----
  #define _XOPEN_SOURCE
  #define _BSD_TYPES
  #define __EXTENSIONS__
+ #define _ALL_SOURCE
+ #define _LARGE_FILE_API
+ #define _XOPEN_SOURCE_EXTENDED 1
  
  #include <string.h>
  #include <stdio.h>
Index: mf-runtime.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/Attic/mf-runtime.c,v
retrieving revision 1.1.2.46
diff -c -p -r1.1.2.46 mf-runtime.c
*** mf-runtime.c	29 Oct 2003 19:35:19 -0000	1.1.2.46
--- mf-runtime.c	4 Nov 2003 18:10:33 -0000
*************** XXX: libgcc license?
*** 18,23 ****
--- 18,25 ----
  #define _XOPEN_SOURCE
  #define _BSD_TYPES
  #define __EXTENSIONS__
+ #define _ALL_SOURCE
+ #define _LARGE_FILE_API
  #define _XOPEN_SOURCE_EXTENDED 1
  
  #include <stdio.h>


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