mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Merge pull request #42 from igaztanaga/patch-1
_set_abort_behavior not supported in old MSVC
This commit is contained in:
@ -47,7 +47,7 @@ public:
|
|||||||
test_result()
|
test_result()
|
||||||
: report_(false)
|
: report_(false)
|
||||||
, errors_(0) {
|
, errors_(0) {
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER) && (_MSC_VER > 1310)
|
||||||
::_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