]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blob - patches/patch-as
Patch for _pth.h
[pkgsrc-firefox3.git] / patches / patch-as
1 $NetBSD$
2
3 --- nsprpub/pr/include/md/_pth.h.orig   2009-02-04 17:29:29.000000000 +0900
4 +++ nsprpub/pr/include/md/_pth.h
5 @@ -98,7 +98,7 @@
6  #else
7  #define _PT_PTHREAD_MUTEX_IS_LOCKED(m)    (EBUSY == pthread_mutex_trylock(&(m)))
8  #endif
9 -#if defined(DARWIN)
10 +#if defined(DARWIN) && !defined(__DARWIN_UNIX03) 
11  #define _PT_PTHREAD_CONDATTR_INIT(x)      0
12  #else
13  #define _PT_PTHREAD_CONDATTR_INIT         pthread_condattr_init