summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-ed
blob: d933c9b06a64ecb169d211ad16161b27a3c00e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ed,v 1.1 2006/06/27 11:11:52 joerg Exp $

--- nsprpub/pr/src/pthreads/ptthread.c.orig	2006-06-26 14:40:42.000000000 +0000
+++ nsprpub/pr/src/pthreads/ptthread.c
@@ -847,7 +847,7 @@ void _PR_InitThreads(
 #endif
 
 #if defined(_PR_DCETHREADS) || defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
-#if defined(FREEBSD)
+#if defined(FREEBSD) || defined(DRAGONFLY)
     {
     pthread_attr_t attr;
     int policy;
@@ -1234,7 +1234,7 @@ static void suspend_signal_handler(PRInt
 	{
 #if !defined(FREEBSD) && !defined(NETBSD) && !defined(OPENBSD) \
     && !defined(BSDI) && !defined(VMS) && !defined(UNIXWARE) \
-    && !defined(DARWIN) && !defined(RISCOS) /*XXX*/
+    && !defined(DARWIN) && !defined(RISCOS) && !defined(DRAGONFLY) /*XXX*/
         PRIntn rv;
 	    sigwait(&sigwait_set, &rv);
 #endif