Fix user/tests/dce.c compilation with the PSDK

Francois Gouget fgouget at free.fr
Wed Aug 10 07:48:09 CDT 2005


DCX_USESTYLE is not defined in the Windows 2003 SP1 PSDK.

Changelog:

  * dlls/user/tests/dce.c

    Francois Gouget <fgouget at free.fr>
    Define DCX_USESTYLE if it is not defined already. Fixes the 
compilation with the PSDK.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
   Any sufficiently advanced Operating System is indistinguishable from Linux
-------------- next part --------------
Index: dlls/user/tests/dce.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/dce.c,v
retrieving revision 1.4
diff -u -p -r1.4 dce.c
--- dlls/user/tests/dce.c	6 Jul 2005 15:51:29 -0000	1.4
+++ dlls/user/tests/dce.c	25 Jul 2005 13:06:04 -0000
@@ -33,6 +33,10 @@
 
 #include "wine/test.h"
 
+#ifndef DCX_USESTYLE
+#define DCX_USESTYLE         0x00010000
+#endif
+
 static HWND hwnd_cache, hwnd_owndc, hwnd_classdc, hwnd_classdc2;
 
 /* test behavior of DC attributes with various GetDC/ReleaseDC combinations */


More information about the wine-patches mailing list