forked from boostorg/core
Call _set_abort_behavior on all compilers impersonating MSVC
This commit is contained in:
1 parent
dfd5a0b8db
commit
7f7c4c5b83
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user