Commit 7861225f authored by Marc-André Lemburg's avatar Marc-André Lemburg

Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik

Lundh as response to bug reports on True64 and IRIX.
parent 192899b6
...@@ -12,15 +12,20 @@ See the file "Misc/COPYRIGHT" for information on usage and ...@@ -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. redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
******************************************************************/ ******************************************************************/
/* Enable compiler features including SUSv2 compatibility; switching /* Enable compiler features; switching on C lib defines doesn't work
on C lib defines doesn't work here, because the symbols haven't here, because the symbols haven't necessarily been defined yet. */
necessarily been defined yet. */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
# define _GNU_SOURCE 1 # define _GNU_SOURCE 1
#endif #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 #ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500 # define _XOPEN_SOURCE 500
#endif #endif
#endif
/* Include nearly all Python header files */ /* Include nearly all Python header files */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment