diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index 7ee41551..3da09d9a 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -628,12 +628,14 @@ namespace std{ using ::type_info; } # if __has_cpp_attribute(noreturn) # define BOOST_NORETURN [[noreturn]] # endif -# else -# define BOOST_NO_NORETURN -# define BOOST_NORETURN # endif #endif +#if !defined(BOOST_NORETURN) +# define BOOST_NO_NORETURN +# define BOOST_NORETURN +#endif + // Branch prediction hints // These macros are intended to wrap conditional expressions that yield true or false //