Mercurial > cpython-lru_cache-weakref
diff Include/Python.h @ 24342:2ae0145931f1 legacy-trunk
Define _XOPEN_SOURCE and _GNU_SOURCE in pyconfig.h, to have them
available in the configure tests already.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 20 Jul 2002 08:51:52 +0000 |
| parents | 132577f693b1 |
| children | c1eb668525e1 |
line wrap: on
line diff
--- a/Include/Python.h Sat Jul 20 04:21:51 2002 +0000 +++ b/Include/Python.h Sat Jul 20 08:51:52 2002 +0000 @@ -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"
