Fix DEFINE_GUID to define an 'extern' symbol

Warren_Baird at cimmetry.com Warren_Baird at cimmetry.com
Thu Feb 6 08:51:55 CST 2003



ChangeLog:

     Have DEFINE_GUID to define an external symbol like it does
     on Windows.

Warren Baird : Warren_Baird at cimmetry.com
Dave Belanger

diff -ur clean/wine/include/guiddef.h wine/include/guiddef.h
--- clean/wine/include/guiddef.h   Wed Jan 29 15:31:05 2003
+++ wine/include/guiddef.h    Wed Dec 11 10:38:03 2002
@@ -31,7 +31,7 @@

 #ifdef INITGUID
 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
-        const GUID name = \
+       extern const GUID name = \
     { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }
 #else
 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \





More information about the wine-patches mailing list