Commit 6dd0685f authored by Yorick Hardy's avatar Yorick Hardy Committed by Alexandre Julliard

Use SA_RESTART on NetBSD.

parent 944dd6e2
......@@ -1155,7 +1155,7 @@ static int set_handler( int sig, int have_sigaltstack, void (*func)() )
sigaddset( &sig_act.sa_mask, SIGUSR2 );
sigaddset( &sig_act.sa_mask, SIGALRM );
#ifdef linux
#if defined(linux) || defined(__NetBSD__)
sig_act.sa_flags = SA_RESTART;
#elif defined (__svr4__) || defined(_SCO_DS)
sig_act.sa_flags = SA_SIGINFO | SA_RESTART;
......
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