diff options
Diffstat (limited to 'time/sunbird/patches/patch-ds')
-rw-r--r-- | time/sunbird/patches/patch-ds | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/time/sunbird/patches/patch-ds b/time/sunbird/patches/patch-ds deleted file mode 100644 index 347bd199d6c..00000000000 --- a/time/sunbird/patches/patch-ds +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-ds,v 1.2 2009/05/29 13:22:11 he Exp $ - ---- nsprpub/pr/include/md/_pth.h.orig 2007-10-31 18:36:57.000000000 +0100 -+++ nsprpub/pr/include/md/_pth.h -@@ -93,7 +93,7 @@ - #define _PT_PTHREAD_MUTEXATTR_INIT pthread_mutexattr_init - #define _PT_PTHREAD_MUTEXATTR_DESTROY pthread_mutexattr_destroy - #define _PT_PTHREAD_MUTEX_INIT(m, a) pthread_mutex_init(&(m), &(a)) --#if defined(FREEBSD) -+#if defined(FREEBSD) || defined(DRAGONFLY) - #define _PT_PTHREAD_MUTEX_IS_LOCKED(m) pt_pthread_mutex_is_locked(&(m)) - #else - #define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m))) -@@ -145,7 +145,7 @@ - #elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(SOLARIS) \ - || defined(HPUX) || defined(LINUX) || defined(FREEBSD) \ - || defined(NETBSD) || defined(OPENBSD) || defined(BSDI) \ -- || defined(VMS) || defined(NTO) || defined(DARWIN) \ -+ || defined(VMS) || defined(NTO) || defined(DARWIN) || defined(DRAGONFLY)\ - || defined(UNIXWARE) || defined(RISCOS) - #define _PT_PTHREAD_INVALIDATE_THR_HANDLE(t) (t) = 0 - #define _PT_PTHREAD_THR_HANDLE_IS_INVALID(t) (t) == 0 -@@ -198,7 +198,7 @@ - #if (defined(AIX) && !defined(AIX4_3_PLUS)) || defined(LINUX) \ - || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \ - || defined(BSDI) || defined(VMS) || defined(UNIXWARE) \ -- || defined(DARWIN) -+ || defined(DARWIN) || defined(DRAGONFLY) - #define PT_NO_SIGTIMEDWAIT - #endif - -@@ -228,7 +228,7 @@ - #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER) - #endif /* defined(_PR_DCETHREADS) */ - --#elif defined(LINUX) || defined(FREEBSD) -+#elif defined(LINUX) || defined(FREEBSD) || defined(DRAGONFLY) - #define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER) - #define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER) - #elif defined(NTO) -@@ -287,7 +287,7 @@ extern int (*_PT_aix_yield_fcn)(); - #elif defined(HPUX) || defined(LINUX) || defined(SOLARIS) \ - || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \ - || defined(BSDI) || defined(NTO) || defined(DARWIN) \ -- || defined(UNIXWARE) || defined(RISCOS) -+ || defined(UNIXWARE) || defined(RISCOS) || defined(DRAGONFLY) - #define _PT_PTHREAD_YIELD() sched_yield() - #else - #error "Need to define _PT_PTHREAD_YIELD for this platform" |