This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Remove _XOPEN_SOURCE
- From: "H . J . Lu" <hjl at lucon dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 May 2002 20:28:43 -0700
- Subject: PATCH: Remove _XOPEN_SOURCE
_XOPEN_SOURCE is unconditionally defined in config.h. There is no
need to define it in open.c.
H.J.
----
2002-05-29 H.J. Lu (hjl@gnu.org)
* libI77/open.c (_XOPEN_SOURCE): Removed.
--- libf2c/libI77/open.c.xopen Tue Jan 15 16:30:56 2002
+++ libf2c/libI77/open.c Wed May 29 20:25:05 2002
@@ -1,6 +1,3 @@
-/* Define _XOPEN_SOURCE to get tempnam prototype with glibc et al --
- more general than _INCLUDE_XOPEN_SOURCE used elsewhere `for HP-UX'. */
-#define _XOPEN_SOURCE 1
#include "config.h"
#include "f2c.h"
#include "fio.h"