forked from pool/mingw32-headers
Jan Engelhardt
06d0b80c78
- Added patch: * mingw-w64-v11.0.1-fix-undefined-interface-type.patch + fix build issue with gcc13: type 'interface' is undefined OBS-URL: https://build.opensuse.org/request/show/1125183 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=54
15 lines
519 B
Diff
15 lines
519 B
Diff
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;
|
|
};
|