diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-27 14:18:27 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-27 14:18:27 +0000 |
commit | 08576a11f47c86d071d7854e8181dd178c9c9b4e (patch) | |
tree | 11534eaaa1e25e564b5601b8f4683d966f445350 /www/firefox | |
parent | c0282b9cac509f2cc88c20768cb5a389ae189b81 (diff) | |
download | ports-08576a11f47c86d071d7854e8181dd178c9c9b4e.tar.gz ports-08576a11f47c86d071d7854e8181dd178c9c9b4e.zip |
Notes
Diffstat (limited to 'www/firefox')
-rw-r--r-- | www/firefox/files/patch-nsprpub-pr-include-md-_pth.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/firefox/files/patch-nsprpub-pr-include-md-_pth.h b/www/firefox/files/patch-nsprpub-pr-include-md-_pth.h new file mode 100644 index 000000000000..1f8159c70b1f --- /dev/null +++ b/www/firefox/files/patch-nsprpub-pr-include-md-_pth.h @@ -0,0 +1,11 @@ +--- 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 |