From 1ff7da1267abe4946bf3488fbaf164f15b6a1c86 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Wed, 25 Mar 2020 19:59:00 -0400 Subject: [PATCH] Change __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost config for the Embarcadero non-clang-based compilers. --- include/boost/move/detail/type_traits.hpp | 2 +- include/boost/move/detail/unique_ptr_meta_utils.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/move/detail/type_traits.hpp b/include/boost/move/detail/type_traits.hpp index c129127..4ca5054 100644 --- a/include/boost/move/detail/type_traits.hpp +++ b/include/boost/move/detail/type_traits.hpp @@ -193,7 +193,7 @@ # define BOOST_MOVE_ALIGNMENT_OF(T) __alignof__(T) #endif -# if defined(__CODEGEARC__) +# if defined(BOOST_CODEGEARC) # define BOOST_MOVE_IS_UNION(T) __is_union(T) # define BOOST_MOVE_IS_POD(T) __is_pod(T) # define BOOST_MOVE_IS_EMPTY(T) __is_empty(T) diff --git a/include/boost/move/detail/unique_ptr_meta_utils.hpp b/include/boost/move/detail/unique_ptr_meta_utils.hpp index e11124d..5f81eec 100644 --- a/include/boost/move/detail/unique_ptr_meta_utils.hpp +++ b/include/boost/move/detail/unique_ptr_meta_utils.hpp @@ -546,7 +546,7 @@ struct is_unary_function # define BOOST_MOVEUP_HAS_VIRTUAL_DESTRUCTOR(T) __has_virtual_destructor(T) #elif defined(__ghs__) && (__GHS_VERSION_NUMBER >= 600) # define BOOST_MOVEUP_HAS_VIRTUAL_DESTRUCTOR(T) __has_virtual_destructor(T) -#elif defined(__CODEGEARC__) +#elif defined(BOOST_CODEGEARC) # define BOOST_MOVEUP_HAS_VIRTUAL_DESTRUCTOR(T) __has_virtual_destructor(T) #endif