2
0
mingw32-headers/mingw-w64-v11.0.1-fix-undefined-interface-type.patch

15 lines
519 B
Diff
Raw Normal View History

diff -ur mingw-w64-v11.0.1.orig/mingw-w64-headers/include/msxml.h mingw-w64-v11.0.1/mingw-w64-headers/include/msxml.h
--- mingw-w64-v11.0.1.orig/mingw-w64-headers/include/msxml.h 2023-04-29 11:15:30.000000000 +0200
+++ mingw-w64-v11.0.1/mingw-w64-headers/include/msxml.h 2023-11-11 15:16:47.191637105 +0100
@@ -820,6 +820,10 @@
END_INTERFACE
} IXMLDOMNodeVtbl;
+#if defined(_WIN32) && !defined(interface)
+#define interface struct
+#endif
+
interface IXMLDOMNode {
CONST_VTBL IXMLDOMNodeVtbl* lpVtbl;
};