Use SA_RESTART on NetBSD.

oldstable
Yorick Hardy 2003-06-04 20:15:10 +00:00 committed by Alexandre Julliard
parent 944dd6e2cd
commit 6dd0685f74
1 changed files with 1 additions and 1 deletions

View File

@ -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;