Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db47898 commit 24b2489Copy full SHA for 24b2489
2 files changed
src/_c_internal_utils.cpp
@@ -7,7 +7,14 @@
7
#define WIN32_LEAN_AND_MEAN
8
// Windows 10, for latest HiDPI API support.
9
#define WINVER 0x0A00
10
-#define _WIN32_WINNT 0x0A00
+#if defined(_WIN32_WINNT)
11
+#if _WIN32_WINNT < WINVER
12
+#undef _WIN32_WINNT
13
+#define _WIN32_WINNT WINVER
14
+#endif
15
+#else
16
17
18
#endif
19
#include <pybind11/pybind11.h>
20
#ifdef __linux__
src/_tkagg.cpp
@@ -19,7 +19,14 @@
// Windows 8.1
21
#define WINVER 0x0603
22
-#define _WIN32_WINNT 0x0603
23
24
25
26
27
28
29
30
31
32
0 commit comments