summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-06-23 13:53:09 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-06-23 13:53:09 (GMT)
commit582cfbbf7489e94494e665092f6587d6160411c6 (patch)
tree5b6a4d4ef5dea83d1d18d29e416c9871e23200c4 /Python
parent59b2401070fae8f0075b6876d3bde60498a3b56d (diff)
downloadcpython-582cfbbf7489e94494e665092f6587d6160411c6.zip
cpython-582cfbbf7489e94494e665092f6587d6160411c6.tar.gz
cpython-582cfbbf7489e94494e665092f6587d6160411c6.tar.bz2
import.c does neither need mode_t nor _mkdir() anymore
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/import.c b/Python/import.c
index fad54e6..b9c5924 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -19,14 +19,6 @@
extern "C" {
#endif
-#ifdef MS_WINDOWS
-/* for stat.st_mode */
-typedef unsigned short mode_t;
-/* for _mkdir */
-#include <direct.h>
-#endif
-
-
#define CACHEDIR "__pycache__"
/* See _PyImport_FixupExtensionObject() below */