From 295b1bbca10b3b919e11812f6946facd8217f248 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lemburg?= <mal@egenix.com>
Date: Fri, 7 Jul 2000 11:24:49 +0000
Subject: Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik Lundh
 as response to bug reports on True64 and IRIX.

---
 Include/Python.h | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Include/Python.h b/Include/Python.h
index e17abeb..3389c0a 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -12,15 +12,20 @@ See the file "Misc/COPYRIGHT" for information on usage and
 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 ******************************************************************/
 
-/* Enable compiler features including SUSv2 compatibility; switching
-   on C lib defines doesn't work here, because the symbols haven't
-   necessarily been defined yet. */
+/* Enable compiler features; switching on C lib defines doesn't work
+   here, because the symbols haven't necessarily been defined yet. */
 #ifndef _GNU_SOURCE
 # define _GNU_SOURCE	1
 #endif
+
+/* Forcing SUSv2 compatibility still produces problems on some
+   platforms, True64 and SGI IRIX begin two of them, so for now the
+   define is switched off. */
+#if 0
 #ifndef _XOPEN_SOURCE
 # define _XOPEN_SOURCE	500
 #endif
+#endif
 
 /* Include nearly all Python header files */
 
-- 
cgit v0.12