Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 582cfbb

Browse files
committed
import.c does neither need mode_t nor _mkdir() anymore
1 parent 59b2401 commit 582cfbb

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Python/import.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@
1919
extern "C" {
2020
#endif
2121

22-
#ifdef MS_WINDOWS
23-
/* for stat.st_mode */
24-
typedef unsigned short mode_t;
25-
/* for _mkdir */
26-
#include <direct.h>
27-
#endif
28-
29-
3022
#define CACHEDIR "__pycache__"
3123

3224
/* See _PyImport_FixupExtensionObject() below */

0 commit comments

Comments
 (0)