Skip to content

Commit

Permalink
Fix compilation error on MACOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Oct 21, 2024
1 parent 4364e5f commit 3e646b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDCore/src/SignalHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void SignalHandler::implementation::handler(int signum, siginfo_t *info, void *p
SigMap::iterator iter_handler = m.find(signum);
s_exit_handler_active = true;
if ( iter_handler != m.end() ) {
__sighandler_t hdlr = iter_handler->second.old_action.sa_handler;
auto hdlr = iter_handler->second.old_action.sa_handler;
func_cast<void (*)(int)> dsc0(hdlr);
func_cast<void (*)(int,siginfo_t*, void*)> dsc(dsc0.ptr);

Expand Down

0 comments on commit 3e646b2

Please sign in to comment.