2013-07-20 10:57:20 +02:00
|
|
|
$NetBSD: patch-nsprpub_pr_src_pthreads_ptsynch.c,v 1.3 2013/07/20 08:57:20 ryoon Exp $
|
2012-04-18 22:57:33 +02:00
|
|
|
|
2012-08-28 15:29:15 +02:00
|
|
|
--- nsprpub/pr/src/pthreads/ptsynch.c.orig 2012-03-06 13:14:21.000000000 +0000
|
2013-07-20 10:57:20 +02:00
|
|
|
+++ nspr/pr/src/pthreads/ptsynch.c
|
2012-08-28 15:29:15 +02:00
|
|
|
@@ -810,7 +810,7 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphor
|
2012-04-18 22:57:33 +02:00
|
|
|
*/
|
|
|
|
#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 */
|