From 8dadb7fae02bbf415ee51f69919cd0d47831cc6c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABtan=20Lehmann?= <gaetan.lehmann@gmail.com>
Date: Sun, 4 Jan 2015 14:02:23 +0100
Subject: [PATCH] fix build with boost 1.57

this is the fix applied in homebrew and in

  https://github.com/luabind/luabind/issues/27
---
 luabind/object.hpp | 4 ++++
 1 file changed, 4 insertions(+)

--- luabind.git.orig/luabind/object.hpp
+++ luabind.git/luabind/object.hpp
@@ -536,6 +536,8 @@
       handle m_key;
   };
 
+#if BOOST_VERSION < 105700
+
 // Needed because of some strange ADL issues.
 
 #define LUABIND_OPERATOR_ADL_WKND(op) \
@@ -557,6 +559,8 @@
   LUABIND_OPERATOR_ADL_WKND(!=)
 
 #undef LUABIND_OPERATOR_ADL_WKND
+
+#endif // BOOST_VERSION < 105700
  
 } // namespace detail
 
