From f6efdd40d8846ea7cc5dd2040bc8c97fad09b90b Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 29 Jan 2010 21:51:41 +0100 Subject: [PATCH] include: Fix IsEqualPropertyKey definition. --- include/propkeydef.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/propkeydef.h b/include/propkeydef.h index 2a459841858..b3a25592d70 100644 --- a/include/propkeydef.h +++ b/include/propkeydef.h @@ -48,7 +48,11 @@ #endif #ifndef IsEqualPropertyKey +#ifdef __cplusplus #define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid,(b).fmtid)) +#else +#define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid,&(b).fmtid)) +#endif #endif #ifndef _PROPERTYKEY_EQUALITY_OPERATORS_