Fix for undefined BOOST_NORETURN

This commit is contained in:
Antony Polukhin
2016-09-10 19:45:41 +03:00
parent a094c078ad
commit d4a4885ed9

View File

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