mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 04:47:16 +02:00
Expand BOOST_UNREACHABLE_RETURN to __assume(0) on MSVC
This commit is contained in:
@ -43,6 +43,9 @@
|
|||||||
# error "Compiler not supported or configured - please reconfigure"
|
# error "Compiler not supported or configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// VS2005 (VC8) docs: __assume has been in Visual C++ for multiple releases
|
||||||
|
#define BOOST_UNREACHABLE_RETURN(x) __assume(0)
|
||||||
|
|
||||||
#if _MSC_FULL_VER < 180020827
|
#if _MSC_FULL_VER < 180020827
|
||||||
# define BOOST_NO_FENV_H
|
# define BOOST_NO_FENV_H
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user