2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

use isc_thread_self instead of pthread_self

This commit is contained in:
Mark Andrews
2017-08-14 13:51:20 +10:00
parent 7239308b36
commit 5e9d9aa9d0

View File

@@ -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