Fix compilation of user conformance tests

Francois Gouget fgouget at free.fr
Wed Aug 11 08:21:58 CDT 2004


Changelog:

 * dlls/user/tests/msg.c
   dlls/user/tests/sysparams.c

   Define _WIN32_WINNT otherwise we are missing some definitions with
the Windows headers.


Index: dlls/user/tests/msg.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/msg.c,v
retrieving revision 1.28
diff -u -r1.28 msg.c
--- dlls/user/tests/msg.c	9 Aug 2004 23:38:40 -0000	1.28
+++ dlls/user/tests/msg.c	10 Aug 2004 15:25:47 -0000
@@ -23,6 +23,8 @@
 #include <assert.h>
 #include <stdarg.h>

+#define _WIN32_WINNT 0x0500 /* For WM_CHANGEUISTATE */
+
 #include "windef.h"
 #include "winbase.h"
 #include "wingdi.h"
Index: dlls/user/tests/sysparams.c
===================================================================
RCS file: /var/cvs/wine/dlls/user/tests/sysparams.c,v
retrieving revision 1.23
diff -u -r1.23 sysparams.c
--- dlls/user/tests/sysparams.c	9 Aug 2004 19:49:12 -0000	1.23
+++ dlls/user/tests/sysparams.c	10 Aug 2004 15:30:27 -0000
@@ -22,6 +22,8 @@
 #include <stdarg.h>
 #include <stdio.h>

+#define _WIN32_WINNT 0x0500 /* For SPI_GETMOUSEHOVERWIDTH and more */
+
 #include "wine/test.h"
 #include "windef.h"
 #include "winbase.h"



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                 There are 10 types of people in the world...
               those who understand binary and those who don't.



More information about the wine-patches mailing list