Define BOOST_NORETURN for Embarcadero the same as gcc/clang

This commit is contained in:
Edward Diener
2020-04-23 11:54:24 -04:00
parent 3e9a8d9fcd
commit 4433fe3355

View File

@ -634,7 +634,7 @@ namespace std{ using ::type_info; }
#if !defined(BOOST_NORETURN)
# if defined(_MSC_VER)
# define BOOST_NORETURN __declspec(noreturn)
# elif defined(__GNUC__)
# elif defined(__GNUC__) || defined(__CODEGEARC__) && defined(__clang__)
# define BOOST_NORETURN __attribute__ ((__noreturn__))
# elif defined(__has_attribute) && defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x5130)
# if __has_attribute(noreturn)