Make shlwapi/tests/clsid compile with MSVC

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

 



Changelog:

 * dlls/shlwapi/tests/clsid.c

   MSVC does not want 'extern' variables to be initialized inside
functions.

Index: dlls/shlwapi/tests/clsid.c
===================================================================
RCS file: /home/cvs/wine/dlls/shlwapi/tests/clsid.c,v
retrieving revision 1.2
diff -u -r1.2 clsid.c
--- dlls/shlwapi/tests/clsid.c	28 Nov 2003 23:19:30 -0000	1.2
+++ dlls/shlwapi/tests/clsid.c	15 Jan 2004 12:06:03 -0000
@@ -96,10 +96,11 @@
   NULL
 };

+DEFINE_GUID(IID_Endianess, 0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B,
+            0x0C, 0x0D, 0x0E, 0x0F, 0x0A);
+
 static void test_ClassIDs(void)
 {
-  DEFINE_GUID(IID_Endianess, 0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B,
-              0x0C, 0x0D, 0x0E, 0x0F, 0x0A);
   const GUID **guids = TEST_guids;
   char szBuff[256];
   GUID guid;



-- 
Francois Gouget         fgouget@xxxxxxx        http://fgouget.free.fr/
         Demander si un ordinateur peut penser revient \xE0 demander
                         si un sous-marin peut nager.


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

  Powered by Linux