Files
MINGW-packages/mingw-w64-python-winsdk/001-skip-broken-header.patch
2023-07-27 19:15:29 +02:00

12 lines
655 B
Diff

--- winsdk-1.0.0b9/pywinrt/winsdk/src/py.Windows.Graphics.Capture.Interop.cpp.orig 2023-07-27 19:06:30.317410400 +0200
+++ winsdk-1.0.0b9/pywinrt/winsdk/src/py.Windows.Graphics.Capture.Interop.cpp 2023-07-27 19:06:01.066530800 +0200
@@ -1,6 +1,7 @@
// WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.9
-#if __has_include("windows.graphics.capture.interop.h")
+// windows.graphics.capture.interop.h is broken in mingw-w64 atm
+#if __has_include("windows.graphics.capture.interop.h") && !defined(__MINGW32__)
#include <windows.graphics.capture.interop.h>
#else
// some environments like MSYS2 don't have this header