Bugzilla bug 120161: define SA_RESTART as 0 if it's not defined.
authorwtc%netscape.com
Tue, 19 Mar 2002 04:31:24 +0000
changeset 2299 e0a3d3dbc79cd8e037fc076fe532a83f28a36285
parent 2298 2294214f75d9085f3fe53cbc303885c2b833730f
child 2300 697b99bf5253f56dce8b6b1231ca65b20f038ba0
push idunknown
push userunknown
push dateunknown
bugs120161
Bugzilla bug 120161: define SA_RESTART as 0 if it's not defined.
pr/src/pthreads/ptthread.c
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -43,16 +43,19 @@
 #include "prlog.h"
 #include "primpl.h"
 #include "prpdce.h"
 
 #include <pthread.h>
 #include <unistd.h>
 #include <string.h>
 #include <signal.h>
+#ifndef SA_RESTART
+#define SA_RESTART 0
+#endif
 
 /*
  * Record whether or not we have the privilege to set the scheduling
  * policy and priority of threads.  0 means that privilege is available.
  * EPERM means that privilege is not available.
  */
 
 static PRIntn pt_schedpriv = 0;