aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk16/files/patch-utils__extconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk16/files/patch-utils__extconf.c')
-rw-r--r--net/asterisk16/files/patch-utils__extconf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/asterisk16/files/patch-utils__extconf.c b/net/asterisk16/files/patch-utils__extconf.c
new file mode 100644
index 000000000000..29b53d1dadd3
--- /dev/null
+++ b/net/asterisk16/files/patch-utils__extconf.c
@@ -0,0 +1,13 @@
+--- ./utils/extconf.c.orig 2010-11-12 16:49:46.000000000 +0100
++++ ./utils/extconf.c 2010-11-12 16:50:00.000000000 +0100
+@@ -718,10 +718,6 @@
+
+ pthread_rwlockattr_init(&attr);
+
+-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
+- pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
+-#endif
+-
+ return pthread_rwlock_init(prwlock, &attr);
+ }
+