]> granicus.if.org Git - python/commitdiff
import.c does neither need mode_t nor _mkdir() anymore
authorChristian Heimes <christian@cheimes.de>
Sun, 23 Jun 2013 13:53:09 +0000 (15:53 +0200)
committerChristian Heimes <christian@cheimes.de>
Sun, 23 Jun 2013 13:53:09 +0000 (15:53 +0200)
Python/import.c

index fad54e66ce16abb12a7b9c114f9fe8e5db086563..b9c5924887fc18770e8ace1ecd7358ef1e982b10 100644 (file)
 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 */