devpropdef.h: Fix DECLSPEC_SELECTANY usage.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8bd4bc4716
commit
c32a97fad1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue