From 3d5f0fcc5a404a47107ace6791cc8b92dbf55af7 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 (cherry picked from commit 5e9d9aa9d0897afb7b95602b7df27b5d3bfda24d) --- 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 0a3d2ba8a2..768c1b8520 100644 --- a/lib/dns/openssl_link.c +++ b/lib/dns/openssl_link.c @@ -192,7 +192,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