From 430b7c9b919db0da6eef8e2493daf8af4009371f Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 10 Mar 2014 13:35:28 +0100 Subject: [PATCH] rpcndr.h: Don't redefine EXTERN_GUID if it's already defined. --- include/rpcndr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/rpcndr.h b/include/rpcndr.h index bc895a5ef28..99200acd1dd 100644 --- a/include/rpcndr.h +++ b/include/rpcndr.h @@ -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 */