summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-03-19 04:31:24 +0000
committerwtc%netscape.com <devnull@localhost>2002-03-19 04:31:24 +0000
commite53c97faf913375f93382953e87da14b57949b1b (patch)
tree7fbbf31a5118e1750634e7c43d7ff4f385d19ec8
parent3efcfd75b7450cd01d3c5e8ba053b95209839131 (diff)
downloadnspr-hg-e53c97faf913375f93382953e87da14b57949b1b.tar.gz
Bugzilla bug 120161: define SA_RESTART as 0 if it's not defined.
-rw-r--r--pr/src/pthreads/ptthread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c
index ba61f7c1..1ff9664a 100644
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -48,6 +48,9 @@
#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