[PATCH 02/27] include/ddraw.h: fix some definitions

Eric Pouech eric.pouech at gmail.com
Tue Mar 1 01:32:36 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 include/ddraw.h |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/include/ddraw.h b/include/ddraw.h
index 0c14c468121..eed8aebf275 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -858,17 +858,17 @@ typedef struct _DDPIXELFORMAT {
 #define DDFXALPHACAPS_OVERLAYALPHASURFACESNEG	0x00000200
 
 /* DDCAPS.dwPalCaps */
-#define DDPCAPS_4BIT			0x00000001
-#define DDPCAPS_8BITENTRIES		0x00000002
-#define DDPCAPS_8BIT			0x00000004
-#define DDPCAPS_INITIALIZE		0x00000008
-#define DDPCAPS_PRIMARYSURFACE		0x00000010
-#define DDPCAPS_PRIMARYSURFACELEFT	0x00000020
-#define DDPCAPS_ALLOW256		0x00000040
-#define DDPCAPS_VSYNC			0x00000080
-#define DDPCAPS_1BIT			0x00000100
-#define DDPCAPS_2BIT			0x00000200
-#define DDPCAPS_ALPHA                   0x00000400
+#define DDPCAPS_4BIT			__MSABI_LONG(0x00000001)
+#define DDPCAPS_8BITENTRIES		__MSABI_LONG(0x00000002)
+#define DDPCAPS_8BIT			__MSABI_LONG(0x00000004)
+#define DDPCAPS_INITIALIZE		__MSABI_LONG(0x00000008)
+#define DDPCAPS_PRIMARYSURFACE		__MSABI_LONG(0x00000010)
+#define DDPCAPS_PRIMARYSURFACELEFT	__MSABI_LONG(0x00000020)
+#define DDPCAPS_ALLOW256		__MSABI_LONG(0x00000040)
+#define DDPCAPS_VSYNC			__MSABI_LONG(0x00000080)
+#define DDPCAPS_1BIT			__MSABI_LONG(0x00000100)
+#define DDPCAPS_2BIT			__MSABI_LONG(0x00000200)
+#define DDPCAPS_ALPHA			__MSABI_LONG(0x00000400)
 
 /* DDCAPS.dwSVCaps */
 /* the first 4 of these are now obsolete */




More information about the wine-devel mailing list