Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which are defined in Boost config for the Embarcadero non-clang-based compilers.

This commit is contained in:
Edward Diener
2020-03-30 20:55:52 -04:00
parent e1b7981a53
commit 0f33f25eeb
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
#include <iosfwd>
#include <climits>
#if defined(__BORLANDC__) || defined( __CODEGEARC__)
#if defined(BOOST_BORLANDC) || defined( BOOST_CODEGEARC)
# pragma pack(push, 1)
#endif
@ -327,7 +327,7 @@ public:
} // namespace endian
} // namespace boost
#if defined(__BORLANDC__) || defined( __CODEGEARC__)
#if defined(BOOST_BORLANDC) || defined( BOOST_CODEGEARC)
# pragma pack(pop)
#endif

View File

@ -38,7 +38,7 @@
#include <climits>
#include <cstring>
#if defined(__BORLANDC__) || defined( __CODEGEARC__)
#if defined(BOOST_BORLANDC) || defined( BOOST_CODEGEARC)
# pragma pack(push, 1)
#endif
@ -367,7 +367,7 @@ public:
} // namespace endian
} // namespace boost
#if defined(__BORLANDC__) || defined( __CODEGEARC__)
#if defined(BOOST_BORLANDC) || defined( BOOST_CODEGEARC)
# pragma pack(pop)
#endif