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

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:36:48 CDT 2011


Module: wine
Branch: stable
Commit: efb4805e3c90c985f98c39730702ec9664f96537
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=efb4805e3c90c985f98c39730702ec9664f96537

Author: Andrew Nguyen <anguyen at 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




More information about the wine-cvs mailing list