Module: wine Branch: stable Commit: efb4805e3c90c985f98c39730702ec9664f96537 URL: http://source.winehq.org/git/wine.git/?a=commit;h=efb4805e3c90c985f98c397307...
Author: Andrew Nguyen anguyen@codeweavers.com Date: Fri Jan 21 04:58:23 2011 -0600
include: Add an extern C++ block around the property key equality operators. (cherry picked from commit 2d12be7df9dd695794a71b246336b299207f8fcb)
---
include/propkeydef.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/propkeydef.h b/include/propkeydef.h index b3a2559..4aaa23a 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, guidTwo); @@ -66,5 +69,7 @@ inline bool operator!=(REFPROPERTYKEY guidOne, REFPROPERTYKEY guidOther) { return !(guidOne == guidOther); } + +} #endif #endif