include: Add an extern C++ block around the property key equality operators.

This commit is contained in:
Andrew Nguyen 2011-01-21 04:58:23 -06:00 committed by Alexandre Julliard
parent 7a6c0d2f46
commit 2d12be7df9
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,9 @@
#ifndef _PROPERTYKEY_EQUALITY_OPERATORS_ #ifndef _PROPERTYKEY_EQUALITY_OPERATORS_
#define _PROPERTYKEY_EQUALITY_OPERATORS_ #define _PROPERTYKEY_EQUALITY_OPERATORS_
#ifdef __cplusplus #ifdef __cplusplus
extern "C++"
{
inline bool operator==(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther) inline bool operator==(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
{ {
return IsEqualPropertyKey(guidOne, guidOther); return IsEqualPropertyKey(guidOne, guidOther);
@ -66,5 +69,7 @@ inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
{ {
return !(guidOne == guidOther); return !(guidOne == guidOther);
} }
}
#endif #endif
#endif #endif