1 2 3 4 5 6 7 8 9 10 11
#include <cstdlib> struct pre_main { pre_main() { #ifdef SOL2_CI #ifdef _MSC_VER _set_abort_behavior(0, _WRITE_ABORT_MSG); #endif #endif } } pm;