From a2e0f0f4de7331618af6d52977899009e59dca91 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 5 Jul 2011 14:00:20 +0200 Subject: [PATCH] propkeydef.h: Fixed DEFINE_PROPERTYKEY define. --- include/propkeydef.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/propkeydef.h b/include/propkeydef.h index ab8a7e6db8..189af7faa2 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 -- 2.32.0.93.g670b81a890