]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add missing types for non-threaded build
authorMukund Sivaraman <muks@isc.org>
Sat, 22 Apr 2017 14:28:51 +0000 (19:58 +0530)
committerMukund Sivaraman <muks@isc.org>
Sat, 22 Apr 2017 14:32:27 +0000 (20:02 +0530)
(cherry picked from commit b1568eeedcf97b3dab906023e66c2f7e56578819)
(cherry picked from commit 5fb7dd046e1c2db8f8fbcdef99ea5310494b4740)

lib/isc/nothreads/include/isc/thread.h

index 6399d7ec9d754a303c912c6dbf3074a7819b3ae4..9738994d2f586cbb1eeb6327de31a240db4678a5 100644 (file)
 
 ISC_LANG_BEGINDECLS
 
+/* Placeholder types (they are not accessed) */
+
+typedef void * isc_thread_t;
+typedef void * isc_threadresult_t;
+typedef void * isc_threadarg_t;
+typedef void * isc_threadfunc_t;
+typedef void * isc_thread_key_t;
+
 void
 isc_thread_setconcurrency(unsigned int level);