summaryrefslogtreecommitdiffhomepage
path: root/patches/xwin/ddraw.patch
blob: c368217aee968d37c12f0ad06f43f1e25dd4bcef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- xorg-server-1.20.1.orig/hw/xwin/ddraw.h	2018-08-07 18:31:04.000000000 +0200
+++ xorg-server-1.20.1/hw/xwin/ddraw.h	2018-08-22 08:26:12.917568413 +0200
@@ -1,4 +1,4 @@
-#ifdef __MINGW64_VERSION_MAJOR
+#if defined(__MINGW64_VERSION_MAJOR)
 #include_next <ddraw.h>
 #define __XWIN_DDRAW_H
 #endif
@@ -9,10 +9,29 @@
 #include <wingdi.h>
 #include <objbase.h>
 
+/* temporary! */
+#include <guiddef.h>
+
 #if defined(NONAMELESSUNION) && !defined(DUMMYUNIONNAME1)
 #define DUMMYUNIONNAME1 u1
 #endif
 
+#if !defined(DUMMYUNIONNAME2)
+#define DUMMYUNIONNAME2 u2
+#endif
+
+#if !defined(DUMMYUNIONNAME3)
+#define DUMMYUNIONNAME3 u3
+#endif
+
+#if !defined(DUMMYUNIONNAME4)
+#define DUMMYUNIONNAME4 u4
+#endif
+
+#if !defined(DUMMYUNIONNAME5)
+#define DUMMYUNIONNAME5 u5
+#endif
+
 #define ICOM_CALL_( xfn, p, args) (p)->lpVtbl->xfn args
 
 #ifdef UNICODE