Fix compile error on OpenBSD #773, by @sundb

This commit is contained in:
Daan 2024-03-02 16:57:10 -08:00
parent 128c7c1876
commit 16c3f1292c
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ void _mi_heap_set_default_direct(mi_heap_t* heap) {
#if defined(MI_TLS_SLOT)
mi_prim_tls_slot_set(MI_TLS_SLOT,heap);
#elif defined(MI_TLS_PTHREAD_SLOT_OFS)
*mi_tls_pthread_heap_slot() = heap;
*mi_prim_tls_pthread_heap_slot() = heap;
#elif defined(MI_TLS_PTHREAD)
// we use _mi_heap_default_key
#else