rpcndr.h: Don't redefine EXTERN_GUID if it's already defined.
This commit is contained in:
parent
78cf315665
commit
430b7c9b91
|
@ -37,6 +37,7 @@ extern "C" {
|
||||||
# define CONST_VTBL
|
# define CONST_VTBL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EXTERN_GUID
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
#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 DECLSPEC_HIDDEN; \
|
||||||
|
@ -48,6 +49,7 @@ extern "C" {
|
||||||
const GUID DECLSPEC_SELECTANY name = \
|
const GUID DECLSPEC_SELECTANY name = \
|
||||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* stupid #if can't handle casts... this __stupidity
|
/* stupid #if can't handle casts... this __stupidity
|
||||||
is just a workaround for that limitation */
|
is just a workaround for that limitation */
|
||||||
|
|
Loading…
Reference in New Issue