Skip to content
Snippets Groups Projects
Commit a38e6d69 authored by Dan Egnor's avatar Dan Egnor
Browse files

Deal with absence of SA_NODEFER

parent 6bc1b7cc
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,9 @@ static void sig_on_signal(oop_source *source,int sig,
sigaction(sig,NULL,&act);
s->sig[sig].old = act;
act.sa_handler = on_signal;
#ifdef SA_NODEFER
act.sa_flags &= ~SA_NODEFER;
#endif
sigaction(sig,&act,NULL);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment