Fix MSVC compilation errors in user/tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:

 * dlls/user/tests/class.c,
   dlls/user/tests/win.c

   We need to set _WIN32_WINNT to 0x501 to get CS_DROPSHADOW and
ICON_SMALL2.


Index: dlls/user/tests/class.c
===================================================================
RCS file: /home/cvs/wine/dlls/user/tests/class.c,v
retrieving revision 1.10
diff -u -r1.10 class.c
--- dlls/user/tests/class.c	10 Dec 2003 04:25:48 -0000	1.10
+++ dlls/user/tests/class.c	15 Jan 2004 12:05:39 -0000
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */

+/* To get CS_DROPSHADOW with the MSVC headers */
+#define _WIN32_WINNT 0x0501
+
 #include <assert.h>
 #include <stdlib.h>
 #include <stdarg.h>
Index: dlls/user/tests/win.c
===================================================================
RCS file: /home/cvs/wine/dlls/user/tests/win.c,v
retrieving revision 1.12
diff -u -r1.12 win.c
--- dlls/user/tests/win.c	31 Dec 2003 23:51:52 -0000	1.12
+++ dlls/user/tests/win.c	15 Jan 2004 12:08:00 -0000
@@ -20,6 +20,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */

+/* To get ICON_SMALL2 with the MSVC headers */
+#define _WIN32_WINNT 0x0501
+
 #include <assert.h>
 #include <stdlib.h>
 #include <stdarg.h>


-- 
Francois Gouget         fgouget@xxxxxxx        http://fgouget.free.fr/
               RFC 2549: ftp://ftp.isi.edu/in-notes/rfc2549.txt
                IP over Avian Carriers with Quality of Service


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux