From: Marc-André Lemburg Date: Fri, 7 Jul 2000 11:24:49 +0000 (+0000) Subject: Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik X-Git-Tag: v2.0b1~1036 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=295b1bbca10b3b919e11812f6946facd8217f248;p=python Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik Lundh as response to bug reports on True64 and IRIX. --- diff --git a/Include/Python.h b/Include/Python.h index e17abeb276..3389c0a41d 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 */