Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 84275:a39d2223be23
import.c does neither need mode_t nor _mkdir() anymore
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Sun, 23 Jun 2013 15:53:09 +0200 |
| parents | 3a50025f1900 |
| children | e3ec8b176a80 |
line wrap: on
line diff
--- a/Python/import.c Sun Jun 23 15:50:45 2013 +0200 +++ b/Python/import.c Sun Jun 23 15:53:09 2013 +0200 @@ -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 */
