Jacek Caban : propkeydef.h: Fixed DEFINE_PROPERTYKEY define.

Alexandre Julliard julliard at winehq.org
Tue Jul 5 12:59:05 CDT 2011


Module: wine
Branch: master
Commit: a2e0f0f4de7331618af6d52977899009e59dca91
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a2e0f0f4de7331618af6d52977899009e59dca91

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jul  5 14:00:20 2011 +0200

propkeydef.h: Fixed DEFINE_PROPERTYKEY define.

---

 include/propkeydef.h |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/include/propkeydef.h b/include/propkeydef.h
index ab8a7e6..189af7f 100644
--- a/include/propkeydef.h
+++ b/include/propkeydef.h
@@ -33,18 +33,16 @@
 #ifdef INITGUID
 #ifdef __cplusplus
 #define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
-        EXTERN_C const PROPERTYKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \
-        EXTERN_C const PROPERTYKEY name = \
+        EXTERN_C const PROPERTYKEY DECLSPEC_SELECTANY name DECLSPEC_HIDDEN = \
         { { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }, pid }
 #else
 #define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
-        const PROPERTYKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \
-        const PROPERTYKEY name = \
+        const PROPERTYKEY DECLSPEC_SELECTANY name DECLSPEC_HIDDEN = \
         { { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }, pid }
 #endif
 #else
 #define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
-    EXTERN_C const PROPERTYKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY
+    EXTERN_C const PROPERTYKEY name DECLSPEC_HIDDEN
 #endif
 
 #ifndef IsEqualPropertyKey




More information about the wine-cvs mailing list