sol2/tests/test_abort_clean.cpp
ThePhD 67116a67f9 Fixes #588
Tentatively supports (?) #589 with sol::yielding and sol::yielding_t
Added Catch as a cmake module
2018-02-17 00:18:26 -05:00

12 lines
160 B
C++

#include <cstdlib>
struct pre_main {
pre_main() {
#ifdef SOL2_CI
#ifdef _MSC_VER
_set_abort_behavior(0, _WRITE_ABORT_MSG);
#endif
#endif
}
} pm;