mirror of https://github.com/python/cpython
import.c does neither need mode_t nor _mkdir() anymore
This commit is contained in:
parent
59b2401070
commit
582cfbbf74
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue