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: 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"


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