Skip to content

Commit 0bedba4

Browse files
committed
fix build with mingw
1 parent 0bfd0a0 commit 0bedba4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backward.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4370,7 +4370,9 @@ class SignalHandling {
43704370
SetUnhandledExceptionFilter(crash_handler);
43714371

43724372
signal(SIGABRT, signal_handler);
4373+
#if defined(_MSC_VER)
43734374
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
4375+
#endif
43744376

43754377
std::set_terminate(&terminator);
43764378
#ifndef BACKWARD_ATLEAST_CXX17

0 commit comments

Comments
 (0)