diff --git a/include/boost/endian/arithmetic.hpp b/include/boost/endian/arithmetic.hpp index a31c2eb..d94e8d8 100644 --- a/include/boost/endian/arithmetic.hpp +++ b/include/boost/endian/arithmetic.hpp @@ -36,7 +36,7 @@ #include #include -#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 diff --git a/include/boost/endian/buffers.hpp b/include/boost/endian/buffers.hpp index 459e66f..e117024 100644 --- a/include/boost/endian/buffers.hpp +++ b/include/boost/endian/buffers.hpp @@ -38,7 +38,7 @@ #include #include -#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