forked from boostorg/core
Call _set_abort_behavior on clang-win too
This commit is contained in:
@ -47,7 +47,7 @@ public:
|
|||||||
test_result()
|
test_result()
|
||||||
: report_(false)
|
: report_(false)
|
||||||
, errors_(0) {
|
, errors_(0) {
|
||||||
#ifdef BOOST_MSVC
|
#if defined(BOOST_MSVC) || ( defined(_MSC_VER) && defined(__clang__) )
|
||||||
::_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
|
::_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user