Author: jgardou
Date: Wed Aug 3 15:20:36 2011
New Revision: 53050
URL:
http://svn.reactos.org/svn/reactos?rev=53050&view=rev
Log:
[PSDK]
- mark operators == et != of REFPROPERTYKEY as C++ externs
Modified:
trunk/reactos/include/psdk/propkeydef.h
Modified: trunk/reactos/include/psdk/propkeydef.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/propkeydef.h?…
==============================================================================
--- trunk/reactos/include/psdk/propkeydef.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/propkeydef.h [iso-8859-1] Wed Aug 3 15:20:36 2011
@@ -58,6 +58,8 @@
#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 +68,6 @@
{
return !(guidOne == guidOther);
}
+} //extern "C++"
#endif
#endif