1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-14 07:49:16 -04:00
ports/net/asterisk13/files/patch-main__lock.c
Guido Falsi b4ea8bc686 - Update net/asterisk11 to 11.16.0
- Update net/asterisk13 to 13.2.0
2015-02-07 00:09:35 +00:00

12 lines
397 B
C

--- main/lock.c.orig 2014-12-12 23:40:50 UTC
+++ main/lock.c
@@ -701,9 +701,6 @@ int __ast_rwlock_init(int tracking, cons
#endif /* DEBUG_THREADS */
pthread_rwlockattr_init(&attr);
-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
- pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
-#endif
res = pthread_rwlock_init(&t->lock, &attr);
pthread_rwlockattr_destroy(&attr);