diff --git a/include/boost/tuple/detail/tuple_basic.hpp b/include/boost/tuple/detail/tuple_basic.hpp index 7e5dddc..bed3042 100644 --- a/include/boost/tuple/detail/tuple_basic.hpp +++ b/include/boost/tuple/detail/tuple_basic.hpp @@ -141,7 +141,7 @@ private: typedef BOOST_DEDUCED_TYPENAME detail::drop_front::BOOST_NESTED_TEMPLATE apply::type::head_type unqualified_type; public: -#if BOOST_WORKAROUND(__BORLANDC__,<0x600) +#if BOOST_WORKAROUND(BOOST_BORLANDC,<0x600) typedef const unqualified_type type; #else typedef BOOST_DEDUCED_TYPENAME boost::add_const::type type; diff --git a/include/boost/tuple/tuple_io.hpp b/include/boost/tuple/tuple_io.hpp index 505bd9d..ce55170 100644 --- a/include/boost/tuple/tuple_io.hpp +++ b/include/boost/tuple/tuple_io.hpp @@ -259,7 +259,7 @@ extract_and_check_delimiter( #if defined (BOOST_NO_STD_LOCALE) const bool is_delimiter = !isspace(d); -#elif defined ( __BORLANDC__ ) +#elif defined ( BOOST_BORLANDC ) const bool is_delimiter = !std::use_facet< std::ctype< CharType > > (is.getloc() ).is( std::ctype_base::space, d); #else diff --git a/test/tuple_test_bench.cpp b/test/tuple_test_bench.cpp index c08d6df..1d74b93 100644 --- a/test/tuple_test_bench.cpp +++ b/test/tuple_test_bench.cpp @@ -81,7 +81,7 @@ typedef tuple > t4; typedef tuple, bool, void*> t5; typedef tuple t6; -# if !defined(__BORLANDC__) || __BORLAND__ > 0x0551 +# if !defined(BOOST_BORLANDC) || __BORLAND__ > 0x0551 typedef tuple t7; #endif @@ -306,7 +306,7 @@ make_tuple_test() // With function pointers, make_tuple works just fine -#if !defined(__BORLANDC__) || __BORLAND__ > 0x0551 +#if !defined(BOOST_BORLANDC) || __BORLAND__ > 0x0551 make_tuple(&make_tuple_test); #endif