mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-13 22:11:48 +00:00
fix: CI/CD build fail for arm64 windows
This commit is contained in:
19
deps/python3/windows-api-baseline-8.1.patch
vendored
Normal file
19
deps/python3/windows-api-baseline-8.1.patch
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
|
||||
index ac878a01e1..4f8e7f0f97 100644
|
||||
--- a/PC/pyconfig.h
|
||||
+++ b/PC/pyconfig.h
|
||||
@@ -161,9 +161,9 @@ WIN32 is still required for the locale module.
|
||||
#endif /* MS_WIN64 */
|
||||
-
|
||||
+
|
||||
/* set the version macros for the windows headers */
|
||||
-/* Python 3.9+ requires Windows 8 or greater */
|
||||
-#define Py_WINVER 0x0602 /* _WIN32_WINNT_WIN8 */
|
||||
-#define Py_NTDDI NTDDI_WIN8
|
||||
+/* Python 3.12+ requires Windows 8.1 or greater */
|
||||
+#define Py_WINVER 0x0603 /* _WIN32_WINNT_WINBLUE (8.1) */
|
||||
+#define Py_NTDDI NTDDI_WINBLUE
|
||||
-
|
||||
+
|
||||
/* We only set these values when building Python - we don't want to force
|
||||
these values on extensions, as that will affect the prototypes and
|
||||
Reference in New Issue
Block a user