1
0
forked from boostorg/core

_set_abort_behavior not supported in old MSVC

Last patch before deprecating old MSVC compilers
This commit is contained in:
Ion Gaztañaga
2018-10-12 12:17:45 +02:00
committed by GitHub
parent 1d9d6f579e
commit 79e3bf7175

View File

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