From 2d12be7df9dd695794a71b246336b299207f8fcb Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Fri, 21 Jan 2011 04:58:23 -0600 Subject: [PATCH] include: Add an extern C++ block around the property key equality operators. --- include/propkeydef.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/propkeydef.h b/include/propkeydef.h index 2a796eaf3c4..ab8a7e6db81 100644 --- a/include/propkeydef.h +++ b/include/propkeydef.h @@ -58,6 +58,9 @@ #ifndef _PROPERTYKEY_EQUALITY_OPERATORS_ #define _PROPERTYKEY_EQUALITY_OPERATORS_ #ifdef __cplusplus +extern "C++" +{ + inline bool operator==(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther) { return IsEqualPropertyKey(guidOne, guidOther); @@ -66,5 +69,7 @@ inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther) { return !(guidOne == guidOther); } + +} #endif #endif