mirror of
https://github.com/reactos/wine.git
synced 2025-02-04 02:56:31 +00:00
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…
x
Reference in New Issue
Block a user