From 5e9d9aa9d0897afb7b95602b7df27b5d3bfda24d Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 14 Aug 2017 13:51:20 +1000 Subject: [PATCH] use isc_thread_self instead of pthread_self --- lib/dns/openssl_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/openssl_link.c b/lib/dns/openssl_link.c index c0578d3077..734ebc0b13 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