Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#25)

This commit is contained in:
Edward Diener authored and GitHub committed 2020-04-16 07:52:36 -07:00
1 parent db1f9c73a4
commit e69c81326d
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -379,7 +379,7 @@ main()
convertible_to_archetype<FT> value(dummy_cons);
std::replace_if(fi, fi, pred, value);
}
#if !defined(BOOST_MSVC) || BOOST_WORKAROUND(BOOST_MSVC, > 1900)
#if (!defined(BOOST_MSVC) || BOOST_WORKAROUND(BOOST_MSVC, > 1900)) && !defined(BOOST_EMBTC)
// fails on MSVC 2015 and earlier
{
// Issue, the use of ?: inside replace_copy() complicates things
@@ -548,7 +548,7 @@ main()
unary_predicate_archetype<PredArg> pred(dummy_cons);
bi = std::partition(bi, bi, pred);
}
#ifndef BOOST_MSVC
#if !defined(BOOST_MSVC) && !defined(BOOST_EMBTC)
{
// fails on MSVC
typedef null_archetype<> PredArg;