rpcndr.h: Don't redefine EXTERN_GUID if it's already defined.

oldstable
Jacek Caban 2014-03-10 13:35:28 +01:00 committed by Alexandre Julliard
parent 78cf315665
commit 430b7c9b91
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ extern "C" {
# define CONST_VTBL
#endif
#ifndef EXTERN_GUID
#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; \
@ -48,6 +49,7 @@ extern "C" {
const GUID DECLSPEC_SELECTANY name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#endif
#endif
/* stupid #if can't handle casts... this __stupidity
is just a workaround for that limitation */