dlls/ntdll/signal_i386.c use SA_RESTART on NetBSD

Yorick Hardy yh at metroweb.co.za
Sat May 24 08:21:39 CDT 2003


Use SA_RESTART on NetBSD.

-- 
Yorick Hardy

--- dlls/ntdll/signal_i386.c	Sat May 17 10:00:47 2003
+++ dlls/ntdll/signal_i386.c	Sat May 24 14:30:13 2003
@@ -1155,7 +1155,7 @@
     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;



More information about the wine-patches mailing list