mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 04:43:38 +00:00
include: Add an extern C++ block around the property key equality operators.
This commit is contained in:
parent
7a6c0d2f46
commit
2d12be7df9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue