From 0f33f25eebd5c7b942d336025e01b2ab28988567 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 30 Mar 2020 20:55:52 -0400 Subject: [PATCH] Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which are defined in Boost config for the Embarcadero non-clang-based compilers. --- include/boost/endian/arithmetic.hpp | 4 ++-- include/boost/endian/buffers.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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