From 17427dfa3b44e5f55b2c8c8f6b9ff0c777bfc2d2 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 15 Nov 2002 19:26:39 +0000 Subject: [PATCH] Borland C++ 5.6.0 doesn't handle enable_if [SVN r16262] --- include/boost/function/function_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/function/function_base.hpp b/include/boost/function/function_base.hpp index f154cd9..84bacfe 100644 --- a/include/boost/function/function_base.hpp +++ b/include/boost/function/function_base.hpp @@ -58,8 +58,8 @@ namespace boost { namespace python { namespace objects { # define BOOST_FUNCTION_NO_ENABLE_IF #endif -// Borland C++ 5.5.1 doesn't support enable_if -#if defined(__BORLANDC__) && __BORLANDC__ <= 0x551 && !defined(BOOST_NO_CONFIG) +// Borland C++ 5.6.0 doesn't support enable_if +#if defined(__BORLANDC__) && __BORLANDC__ <= 0x560 && !defined(BOOST_NO_CONFIG) # define BOOST_FUNCTION_NO_ENABLE_IF #endif