[Python-checkins] cpython: import.c does neither need mode_t nor _mkdir() anymore
christian.heimes
python-checkins at python.org
Sun Jun 23 15:53:18 CEST 2013
http://hg.python.org/cpython/rev/a39d2223be23
changeset: 84275:a39d2223be23
user: Christian Heimes <christian at cheimes.de>
date: Sun Jun 23 15:53:09 2013 +0200
summary:
import.c does neither need mode_t nor _mkdir() anymore
files:
Python/import.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/Python/import.c b/Python/import.c
--- 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 */
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list