Leonid Plyushch
5 years ago
1 changed files with 10 additions and 11 deletions
@ -1,13 +1,12 @@ |
|||
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 @@
|
|||
void |
|||
isc_thread_setconcurrency(unsigned int level) |
|||
{ |
|||
+#ifndef __ANDROID__
|
|||
(void)pthread_setconcurrency(level); |
|||
+#endif
|
|||
diff -uNr bind-9.16.1/lib/isc/pthreads/thread.c bind-9.16.1.mod/lib/isc/pthreads/thread.c
|
|||
--- bind-9.16.1/lib/isc/pthreads/thread.c 2020-03-11 18:46:53.000000000 +0200
|
|||
+++ bind-9.16.1.mod/lib/isc/pthreads/thread.c 2020-03-19 22:25:00.361910191 +0200
|
|||
@@ -88,7 +88,7 @@
|
|||
} |
|||
} |
|||
|
|||
void |
|||
-#ifdef __NetBSD__
|
|||
+#if defined(__NetBSD__) || defined(__ANDROID__)
|
|||
#define pthread_setconcurrency(a) (void)a /* nothing */ |
|||
#endif /* ifdef __NetBSD__ */ |
|||
|
|||
|
Loading…
Reference in new issue