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 /Include/Python.h | |
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 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Include/Python.h b/Include/Python.h index 2d5e2a6..dc9ce45 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -2,17 +2,6 @@ #define Py_PYTHON_H /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */ - -/* 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 - -#ifndef _XOPEN_SOURCE -# define _XOPEN_SOURCE 500 -#endif - /* Include nearly all Python header files */ #include "patchlevel.h" |