1
0
forked from boostorg/move

Merge pull request #31 from eldiener/develop

Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Change __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost co…
This commit is contained in:
Ion Gaztañaga
2020-04-29 10:25:56 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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