mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
MinGW doesn't have _exit either
This commit is contained in:
@ -56,8 +56,10 @@ public:
|
|||||||
if (!report_) {
|
if (!report_) {
|
||||||
BOOST_LIGHTWEIGHT_TEST_OSTREAM << "main() should return report_errors()" << std::endl;
|
BOOST_LIGHTWEIGHT_TEST_OSTREAM << "main() should return report_errors()" << std::endl;
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
#if defined(_MSC_VER)
|
||||||
::_exit( 3 );
|
::_exit( 3 );
|
||||||
|
#elif defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
|
||||||
|
std::abort();
|
||||||
#else
|
#else
|
||||||
::_Exit( 3 );
|
::_Exit( 3 );
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user