From 88d20e919fee861182c8ff6c14cfc67130a5b635 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Thu, 18 Sep 2008 19:39:35 +0200 Subject: [PATCH] Changed placeholder definitions to work on GCC3.X. Boost.Bind uses function placeholders on GCC < 4. --- luabind/detail/policy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luabind/detail/policy.hpp b/luabind/detail/policy.hpp index b0339fa..d29227d 100644 --- a/luabind/detail/policy.hpp +++ b/luabind/detail/policy.hpp @@ -1279,7 +1279,7 @@ namespace luabind { namespace detail namespace luabind { namespace { -#if defined(__BORLANDC__) || (BOOST_VERSION == 103400 && defined(__GNUC__)) +#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ <= 400) static inline boost::arg<0> return_value() { return boost::arg<0>(); -- 2.11.4.GIT