diff options
author | Marc-André Lemburg <mal@egenix.com> | 2000-07-07 11:24:49 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2000-07-07 11:24:49 (GMT) |
commit | 295b1bbca10b3b919e11812f6946facd8217f248 (patch) | |
tree | 4c8278e8af51bfcdf4f267af44fd025182b2152f /Include | |
parent | 2629bd5a338a6a6f37d2d6e0aa8e80a7aa31b164 (diff) | |
download | cpython-295b1bbca10b3b919e11812f6946facd8217f248.zip cpython-295b1bbca10b3b919e11812f6946facd8217f248.tar.gz cpython-295b1bbca10b3b919e11812f6946facd8217f248.tar.bz2 |
Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik
Lundh as response to bug reports on True64 and IRIX.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python.h | 11 |
1 files 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 */ |