From: Mark Andrews Date: Mon, 14 Aug 2017 03:51:20 +0000 (+1000) Subject: use isc_thread_self instead of pthread_self X-Git-Tag: v9.12.0a1~122 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5e9d9aa9d0897afb7b95602b7df27b5d3bfda24d;p=thirdparty%2Fbind9.git use isc_thread_self instead of pthread_self --- diff --git a/lib/dns/openssl_link.c b/lib/dns/openssl_link.c index c0578d30772..734ebc0b130 100644 --- a/lib/dns/openssl_link.c +++ b/lib/dns/openssl_link.c @@ -184,7 +184,7 @@ mem_realloc(void *ptr, size_t size FLARG) { static void _set_thread_id(CRYPTO_THREADID *id) { - CRYPTO_THREADID_set_numeric(id, (unsigned long)pthread_self()); + CRYPTO_THREADID_set_numeric(id, (unsigned long)isc_thread_self()); } #endif