Module: wine Branch: master Commit: 2d12be7df9dd695794a71b246336b299207f8fcb URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d12be7df9dd695794a71b2463...
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.
---
include/propkeydef.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/propkeydef.h b/include/propkeydef.h index 2a796ea..ab8a7e6 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