summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/src/pthreads/ptsynch.c
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-12-15 01:40:18 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-12-15 01:40:18 +0100
commit09ef48bd005a7f9e97a3fe797a079fcf2b5e58d3 (patch)
treeb6ae903223a8a30b9f49b1769f5cb856ab41a9bc /nsprpub/pr/src/pthreads/ptsynch.c
parent023af95abeb4a9bd61665f37fc8dec173e0f2f4a (diff)
downloadUXP-09ef48bd005a7f9e97a3fe797a079fcf2b5e58d3.tar
UXP-09ef48bd005a7f9e97a3fe797a079fcf2b5e58d3.tar.gz
UXP-09ef48bd005a7f9e97a3fe797a079fcf2b5e58d3.tar.lz
UXP-09ef48bd005a7f9e97a3fe797a079fcf2b5e58d3.tar.xz
UXP-09ef48bd005a7f9e97a3fe797a079fcf2b5e58d3.zip
Update NSPR to 4.20
Diffstat (limited to 'nsprpub/pr/src/pthreads/ptsynch.c')
-rw-r--r--nsprpub/pr/src/pthreads/ptsynch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nsprpub/pr/src/pthreads/ptsynch.c b/nsprpub/pr/src/pthreads/ptsynch.c
index a93b74795..126bed670 100644
--- a/nsprpub/pr/src/pthreads/ptsynch.c
+++ b/nsprpub/pr/src/pthreads/ptsynch.c
@@ -911,7 +911,8 @@ PR_IMPLEMENT(PRStatus) PR_DeleteSemaphore(const char *name)
* From the semctl(2) man page in glibc 2.0
*/
#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \
- || defined(FREEBSD) || defined(OPENBSD) || defined(BSDI) \
+ || (defined(FREEBSD) && __FreeBSD_version < 1200059) \
+ || defined(OPENBSD) || defined(BSDI) \
|| defined(DARWIN) || defined(SYMBIAN)
/* union semun is defined by including <sys/sem.h> */
#else