blob: aa71ebe5c8f2b5bba2edb1730e161fc610c59c51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-mozilla_nsprpub_pr_src_pthreads_ptsynch.c,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $
--- mozilla/nsprpub/pr/src/pthreads/ptsynch.c.orig 2012-02-16 10:25:22.000000000 +0000
+++ mozilla/nsprpub/pr/src/pthreads/ptsynch.c
@@ -842,7 +842,7 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphor
*/
#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \
|| defined(FREEBSD) || defined(OPENBSD) || defined(BSDI) \
- || defined(DARWIN) || defined(SYMBIAN)
+ || defined(DARWIN) || defined(SYMBIAN) || defined(__DragonFly__)
/* union semun is defined by including <sys/sem.h> */
#else
/* according to X/OPEN we have to define it ourselves */
|