diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-07-20 08:51:52 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-07-20 08:51:52 (GMT) |
commit | 6f18a3c12409b190a2909871f6653901e7412a5f (patch) | |
tree | 4f6653457f0e5c096210b4542b4103b4e283ad77 /pyconfig.h.in | |
parent | 0a30e648e06be85b3380a62ae156a9c7f343392f (diff) | |
download | cpython-6f18a3c12409b190a2909871f6653901e7412a5f.zip cpython-6f18a3c12409b190a2909871f6653901e7412a5f.tar.gz cpython-6f18a3c12409b190a2909871f6653901e7412a5f.tar.bz2 |
Define _XOPEN_SOURCE and _GNU_SOURCE in pyconfig.h, to have them
available in the configure tests already.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 8b14932..8a9a1ad 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -754,6 +754,9 @@ /* This must be set to 64 on some systems to enable large file support. */ #undef _FILE_OFFSET_BITS +/* Define on Linux to activate all library features */ +#undef _GNU_SOURCE + /* This must be defined on some systems to enable large file support. */ #undef _LARGEFILE_SOURCE @@ -773,6 +776,11 @@ /* Define to force use of thread-safe errno, h_errno, and other functions */ #undef _REENTRANT +/* Define on UNIX to activate XPG/5 features. */ +#ifndef _XOPEN_SOURCE +# define _XOPEN_SOURCE 500 +#endif + /* Define to 1 if type `char' is unsigned and you are not using gcc. */ #ifndef __CHAR_UNSIGNED__ # undef __CHAR_UNSIGNED__ |