diff --git a/include/boost/core/quick_exit.hpp b/include/boost/core/quick_exit.hpp index 0dbadfc..c001107 100644 --- a/include/boost/core/quick_exit.hpp +++ b/include/boost/core/quick_exit.hpp @@ -21,9 +21,17 @@ namespace boost { -void quick_exit( int code ) +BOOST_NORETURN void quick_exit( int code ) BOOST_NOEXCEPT { - std::quick_exit( code ); +#if defined(_MSC_VER) && _MSC_VER < 1900 + + ::_exit( code ); + +#else + + ::quick_exit( code ); + +#endif } } // namespace boost