Commit 2d12be7d authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

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

parent 7a6c0d2f
...@@ -58,6 +58,9 @@ ...@@ -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) ...@@ -66,5 +69,7 @@ inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther)
{ {
return !(guidOne == guidOther); return !(guidOne == guidOther);
} }
}
#endif #endif
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment