Call _set_abort_behavior on all compilers impersonating MSVC

This commit is contained in:
Peter Dimov
2018-09-05 07:01:29 +03:00
parent dfd5a0b8db
commit 7f7c4c5b83

View File

@ -47,7 +47,7 @@ public:
test_result()
: report_(false)
, errors_(0) {
#if defined(BOOST_MSVC) || ( defined(_MSC_VER) && defined(__clang__) )
#if defined(_MSC_VER)
::_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
#endif
}