Commit 59eb0c37 authored by Luca Castagnini's avatar Luca Castagnini Committed by Peter Hutterer

Replace SA_ONESHOT with the more portable SA_RESETHAND.

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 6d374910
......@@ -173,8 +173,8 @@ install_signal_handler(void)
sigemptyset(&set);
act.sa_handler = signal_handler;
act.sa_mask = set;
#ifdef SA_ONESHOT
act.sa_flags = SA_ONESHOT;
#ifdef SA_RESETHAND
act.sa_flags = SA_RESETHAND;
#else
act.sa_flags = 0;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment