Fixed MSVC related compilation issues

This commit is contained in:
Antony Polukhin
2017-04-29 19:23:39 +03:00
parent 25260ed667
commit 39247fbb32
2 changed files with 11 additions and 8 deletions

View File

@@ -21,14 +21,10 @@ BOOST_NOINLINE void foo(int i) {
bar(--i);
}
#if defined(BOOST_GCC) && defined(BOOST_WINDOWS)
// MinGW workaround
// MinGW and MSVC workarounds
#include <cstdlib> // ::_Exit
namespace std { using ::_Exit; }
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//[getting_started_terminate_handlers