From 16f7a1cfd91c57c06e2cd315c5416f3fc5a21484 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Tue, 2 Feb 2021 18:19:29 +0000 Subject: [PATCH] Mac M1 build fix for the (temporary ?) previous fix for Thread Block Control access. --- include/mimalloc-internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h index cf4d80ea..6a449ea5 100644 --- a/include/mimalloc-internal.h +++ b/include/mimalloc-internal.h @@ -52,6 +52,7 @@ static inline uintptr_t _mi_random_shuffle(uintptr_t x); // init.c extern mi_decl_cache_align mi_stats_t _mi_stats_main; extern mi_decl_cache_align const mi_page_t _mi_page_empty; +extern mi_decl_thread mi_heap_t* _mi_heap_default; bool _mi_is_main_thread(void); bool _mi_preloading(); // true while the C runtime is not ready