propkeydef.h: Fixed DEFINE_PROPERTYKEY define

Alexandre Julliard julliard at winehq.org
Tue Jul 5 06:50:02 CDT 2011


Jacek Caban <jacek at codeweavers.com> writes:

> @@ -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 = \
>          { { 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 = \
>          { { 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

Do you really want to remove DECLSPEC_HIDDEN?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list