From 205b319b57d80ace45f2f8785d9cab10fe2d5f4e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 5 Sep 2018 07:17:58 +0300 Subject: [PATCH] Use _exit instead of _Exit on MinGW --- include/boost/core/lightweight_test.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/core/lightweight_test.hpp b/include/boost/core/lightweight_test.hpp index 0cecba0..99c1159 100644 --- a/include/boost/core/lightweight_test.hpp +++ b/include/boost/core/lightweight_test.hpp @@ -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 );