mirror of
https://github.com/boostorg/pool.git
synced 2026-01-19 16:32:14 +00:00
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#33)
This commit is contained in:
@@ -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<T, UserAllocator>::~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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user