mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
db5a526190
* Auto-generate PLIST * Respect CC/CXX/CFLAGS/CXXFLAGS/PTHREAD_LIBS * Add WITH_XFT WITH_DEBUG WITH_OPTIMIZED_CFLAGS options [1] * Add another mirror since cvs.nvu.com can be slow * Don't install share/idl/* * No longer depend on mozilla PR: 72762 Submitted by: Michael Johnson <ahze@ahze.net> Obtained from: www/mozilla [1]
12 lines
581 B
C
12 lines
581 B
C
--- nsprpub/pr/include/md/_pth.h.orig Mon Jul 26 07:23:42 2004
|
|
+++ nsprpub/pr/include/md/_pth.h Mon Jul 26 07:18:37 2004
|
|
@@ -90,7 +90,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))
|
|
-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
|
|
+#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
|
|
#if defined(DARWIN)
|
|
#define _PT_PTHREAD_CONDATTR_INIT(x) 0
|
|
#else
|