From 0754642bbae3e8c2a03c1694d7129c94de58def0 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Thu, 16 Apr 2020 11:14:50 -0400 Subject: [PATCH] Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#33) --- include/boost/pool/object_pool.hpp | 4 ++-- include/boost/pool/pool_alloc.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/pool/object_pool.hpp b/include/boost/pool/object_pool.hpp index 092f017..55da60b 100644 --- a/include/boost/pool/object_pool.hpp +++ b/include/boost/pool/object_pool.hpp @@ -26,7 +26,7 @@ It also provides automatic destruction of non-deallocated objects. #endif // The following code might be put into some Boost.Config header in a later revision -#ifdef __BORLANDC__ +#ifdef BOOST_BORLANDC # pragma option push -w-inl #endif @@ -280,7 +280,7 @@ object_pool::~object_pool() } // namespace boost // The following code might be put into some Boost.Config header in a later revision -#ifdef __BORLANDC__ +#ifdef BOOST_BORLANDC # pragma option pop #endif diff --git a/include/boost/pool/pool_alloc.hpp b/include/boost/pool/pool_alloc.hpp index 4233ca6..9c065f6 100644 --- a/include/boost/pool/pool_alloc.hpp +++ b/include/boost/pool/pool_alloc.hpp @@ -94,7 +94,7 @@ STLport (with any compiler), ver. 4.0 and earlier. // The following code will be put into Boost.Config in a later revision #if defined(_RWSTD_VER) || defined(__SGI_STL_PORT) || \ - BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582)) + BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x582)) #define BOOST_NO_PROPER_STL_DEALLOCATE #endif