MinGW: unbreak the test harness.
_set_abort_behavior() is an MSVCRT function, not a Win32 one, and it is not available in MinGW builds.pull/33/merge
parent
d12bf047b4
commit
7787923d05
|
@ -271,8 +271,10 @@ int Test::Case::Register(Test::Case testCase) {
|
|||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
#if defined(WIN32)
|
||||
#if defined(_MSC_VER)
|
||||
_set_abort_behavior(0, _WRITE_ABORT_MSG);
|
||||
#endif
|
||||
#if defined(WIN32)
|
||||
InitHeaps();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue