This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [libmudflap] AIX mf-runtime.c fix
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 21 Oct 2003 14:57:18 -0400
- Subject: [PATCH] [libmudflap] AIX mf-runtime.c fix
AIX needs the following define to get farther in the libmudflap
build.
David
* mf-runtime.c (_XPOEN_SOURCE_EXTENDED): Define to 1 for AIX.
Index: mf-runtime.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/Attic/mf-runtime.c,v
retrieving revision 1.1.2.45
diff -c -p -r1.1.2.45 mf-runtime.c
*** mf-runtime.c 29 Jul 2003 18:13:02 -0000 1.1.2.45
--- mf-runtime.c 21 Oct 2003 18:51:28 -0000
*************** XXX: libgcc license?
*** 18,23 ****
--- 18,24 ----
#define _XOPEN_SOURCE
#define _BSD_TYPES
#define __EXTENSIONS__
+ #define _XOPEN_SOURCE_EXTENDED 1
#include <stdio.h>
#include <stdlib.h>