Skip to content

Commit

Permalink
LIBS: work around undefined symbol _set_abort_behavior for mingw64 bu…
Browse files Browse the repository at this point in the history
…ilds
  • Loading branch information
mgerhardy committed Oct 19, 2024
1 parent 27c5ea4 commit 1f9c766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/libs/backward/backward.h
Original file line number Diff line number Diff line change
Expand Up @@ -4345,9 +4345,9 @@ class SignalHandling {
*prev_exception_filter_ptr() = SetUnhandledExceptionFilter(crash_handler);

signal(SIGABRT, signal_handler);
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);

#if defined(_MSC_VER)
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
set_terminate(&terminator);
set_unexpected(&terminator);
#else
Expand Down

0 comments on commit 1f9c766

Please sign in to comment.