mirror of https://github.com/microsoft/mimalloc
Fix compile error on OpenBSD #773, by @sundb
This commit is contained in:
parent
128c7c1876
commit
16c3f1292c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue