diff Include/Python.h @ 13395:317e8e09ce87 legacy-trunk

Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik Lundh as response to bug reports on True64 and IRIX.
author Marc-André Lemburg <mal@egenix.com>
date Fri, 07 Jul 2000 11:24:49 +0000
parents 5619c3f7a44b
children a87803eb9dfb
line wrap: on
line diff
--- a/Include/Python.h	Fri Jul 07 09:47:24 2000 +0000
+++ b/Include/Python.h	Fri Jul 07 11:24:49 2000 +0000
@@ -12,15 +12,20 @@
 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 */