Jacek Caban : devpropdef.h: Fix DECLSPEC_SELECTANY usage.
Alexandre Julliard
julliard at winehq.org
Tue Apr 14 16:15:27 CDT 2020
Module: wine
Branch: master
Commit: c32a97fad131ccbd6532aff0c808fef099e221c9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c32a97fad131ccbd6532aff0c808fef099e221c9
Author: Jacek Caban <jacek at codeweavers.com>
Date: Tue Apr 14 20:22:39 2020 +0200
devpropdef.h: Fix DECLSPEC_SELECTANY usage.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/devpropdef.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/devpropdef.h b/include/devpropdef.h
index 8db292c7d1..2b0b7f4a84 100644
--- a/include/devpropdef.h
+++ b/include/devpropdef.h
@@ -82,18 +82,18 @@ typedef struct _DEVPROPKEY {
#ifdef INITGUID
#ifdef __cplusplus
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
- EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \
- EXTERN_C const DEVPROPKEY name = \
+ EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN; \
+ EXTERN_C const DEVPROPKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#else
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
- const DEVPROPKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \
- const DEVPROPKEY name = \
+ extern const DEVPROPKEY name DECLSPEC_HIDDEN; \
+ const DEVPROPKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#endif
#else
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
- EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY
+ EXTERN_C const DEVPROPKEY name DECLSPEC_HIDDEN
#endif
#ifndef IsEqualDevPropKey
More information about the wine-cvs
mailing list