Call _set_abort_behavior on clang-win too

This commit is contained in:
Peter Dimov
2018-09-05 06:04:53 +03:00
parent 76c3538315
commit d0a9206d6a

View File

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