[PATCH 06/19] includes: Fix IsEqualPropertyKey
Maarten Lankhorst
m.b.lankhorst at gmail.com
Fri Jan 29 14:51:41 CST 2010
---
include/propkeydef.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/propkeydef.h b/include/propkeydef.h
index 2a45984..b3a2559 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_
--
1.7.0
--------------060400030203040707060604--
More information about the wine-patches
mailing list