rpcndr.h: Added EXTERN_GUID define.
This commit is contained in:
parent
c52282fe7b
commit
6261ab2686
|
@ -37,6 +37,18 @@ extern "C" {
|
|||
# define CONST_VTBL
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
EXTERN_C const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \
|
||||
EXTERN_C const GUID DECLSPEC_SELECTANY name = \
|
||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
#else
|
||||
#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \
|
||||
const GUID DECLSPEC_SELECTANY name = \
|
||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
#endif
|
||||
|
||||
/* stupid #if can't handle casts... this __stupidity
|
||||
is just a workaround for that limitation */
|
||||
|
||||
|
|
Loading…
Reference in New Issue