Use _exit instead of _Exit on MinGW

This commit is contained in:
Peter Dimov
2018-09-05 07:17:58 +03:00
parent 7f7c4c5b83
commit 205b319b57

View File

@ -56,7 +56,7 @@ public:
if (!report_) {
BOOST_LIGHTWEIGHT_TEST_OSTREAM << "main() should return report_errors()" << std::endl;
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__MINGW32__)
::_exit( 3 );
#else
::_Exit( 3 );