luabind/luabind-0.9.1-libboost-1.57.patch

21 lines
459 B
Diff
Raw Permalink Normal View History

diff --git a/luabind/object.hpp b/luabind/object.hpp
index 5e2771c..24c140c 100644
--- a/luabind/object.hpp
+++ b/luabind/object.hpp
@@ -544,6 +544,7 @@ namespace detail
handle m_key;
};
+#if BOOST_VERSION < 105700
// Needed because of some strange ADL issues.
#define LUABIND_OPERATOR_ADL_WKND(op) \
@@ -565,6 +566,7 @@ namespace detail
LUABIND_OPERATOR_ADL_WKND(!=)
#undef LUABIND_OPERATOR_ADL_WKND
+#endif
} // namespace detail