summaryrefslogtreecommitdiff
path: root/net/asterisk20/files/patch-main_lock.c
blob: 5292db43b5a1956f7b3d5b40e5b436e43ebf695f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- main/lock.c.orig	2024-10-17 16:00:41 UTC
+++ main/lock.c
@@ -718,9 +718,6 @@ int __ast_rwlock_init(int tracking, const char *filena
 #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);