termux-packages/packages/dnsutils/lib-isc-pthreads-thread.c.p...

14 lines
403 B
Diff
Raw Normal View History

2020-03-08 21:33:55 +01:00
diff -uNr bind-9.16.0/lib/isc/pthreads/thread.c bind-9.16.0.mod/lib/isc/pthreads/thread.c
--- bind-9.16.0/lib/isc/pthreads/thread.c 2020-02-12 22:03:44.000000000 +0200
+++ bind-9.16.0.mod/lib/isc/pthreads/thread.c 2020-03-08 22:29:34.847302635 +0200
@@ -95,7 +95,9 @@
2018-11-27 00:21:03 +01:00
void
2020-03-08 21:33:55 +01:00
isc_thread_setconcurrency(unsigned int level)
{
2018-11-27 00:21:03 +01:00
+#ifndef __ANDROID__
(void)pthread_setconcurrency(level);
+#endif
}
void