File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,15 @@ Copyright (C) 1994 Steen Lumholt.
22
22
*/
23
23
24
24
#define PY_SSIZE_T_CLEAN
25
+ #ifndef Py_BUILD_CORE_BUILTIN
26
+ # define Py_BUILD_CORE_MODULE 1
27
+ #endif
25
28
26
29
#include "Python.h"
27
30
#include <ctype.h>
31
+ #ifdef MS_WINDOWS
32
+ # include "pycore_fileutils.h" // _Py_stat()
33
+ #endif
28
34
29
35
#ifdef MS_WINDOWS
30
36
#include <windows.h>
Original file line number Diff line number Diff line change 1
-
2
1
/* Testing module for multi-phase initialization of extension modules (PEP 489)
3
2
*/
4
3
4
+ #ifndef Py_BUILD_CORE_BUILTIN
5
+ # define Py_BUILD_CORE_MODULE 1
6
+ #endif
7
+
5
8
#include "Python.h"
6
9
7
10
#ifdef MS_WINDOWS
8
11
12
+ #include "pycore_fileutils.h" // _Py_get_osfhandle()
9
13
#include "..\modules\_io\_iomodule.h"
10
14
11
15
#define WIN32_LEAN_AND_MEAN
You can’t perform that action at this time.
0 commit comments