File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
contrib/tools/python3/Include Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change
1
+ // Override _WIN32_WINNT
2
+ #undef _WIN32_WINNT
3
+ #define _WIN32_WINNT Py_WINVER
4
+
5
+ #define Py_NO_ENABLE_SHARED
6
+
7
+ #include "../PC/pyconfig.h"
Original file line number Diff line number Diff line change 25
25
26
26
#endif
27
27
28
- #if defined(__linux__ )
29
- #include "pyconfig-linux.h"
28
+ #if !defined(NDEBUG ) && !defined(Py_DEBUG ) && !defined(Py_LIMITED_API ) && !defined(DISABLE_PYDEBUG )
29
+ #define Py_DEBUG
30
+ #define GC_NDEBUG
30
31
#endif
31
32
32
33
#if defined(__APPLE__ ) && (defined(__aarch64__ ) || defined(_M_ARM64 ))
33
34
# include "pyconfig-osx-arm64.h"
34
35
#elif defined(__APPLE__ ) && (defined(__x86_64__ ) || defined(_M_X64 ))
35
36
# include "pyconfig-osx-x86_64.h"
36
- #endif
37
-
38
- #if defined(_MSC_VER )
39
- #define NTDDI_VERSION 0x06020000
40
- #define _WIN32_WINNT 0x0602
41
- #define Py_NO_ENABLE_SHARED
42
- #include "../PC/pyconfig.h"
37
+ #elif defined(_MSC_VER )
38
+ # include "pyconfig-win.h"
39
+ #else
40
+ # include "pyconfig-linux.h"
43
41
#endif
44
42
45
43
#if defined(_musl_ )
46
- #include "pyconfig-musl.h"
47
- #endif
48
-
49
- #if !defined(NDEBUG ) && !defined(Py_DEBUG ) && !defined(Py_LIMITED_API ) && !defined(DISABLE_PYDEBUG )
50
- #define Py_DEBUG
51
- #define GC_NDEBUG
44
+ # include "pyconfig-musl.h"
52
45
#endif
You can’t perform that action at this time.
0 commit comments