summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-06-23 15:53:09 +0200
committerChristian Heimes <christian@cheimes.de>2013-06-23 15:53:09 +0200
commit23c2e70efd68fb16de7b6b3ad0e469784c966ace (patch)
treefaa10fa4a27b456969d0c42dd4223e37c8bafffa /Python/import.c
parent636ebfe3ff29ac71e1ac8f09285dc839769498be (diff)
downloadcpython-23c2e70efd68fb16de7b6b3ad0e469784c966ace.tar.gz
import.c does neither need mode_t nor _mkdir() anymore
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/import.c b/Python/import.c
index fad54e66ce..b9c5924887 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 */