summaryrefslogtreecommitdiff
path: root/Include/Python.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-07-20 08:51:52 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-07-20 08:51:52 +0000
commit6f18a3c12409b190a2909871f6653901e7412a5f (patch)
tree4f6653457f0e5c096210b4542b4103b4e283ad77 /Include/Python.h
parent0a30e648e06be85b3380a62ae156a9c7f343392f (diff)
downloadcpython-git-6f18a3c12409b190a2909871f6653901e7412a5f.tar.gz
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.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 2d5e2a6e3e..dc9ce457e9 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"