fix build warning on 32-bit musl
This commit is contained in:
@@ -175,7 +175,9 @@ static void* mi_arena_meta_zalloc(size_t size, mi_memid_t* memid, mi_stats_t* st
|
||||
|
||||
// try static
|
||||
void* p = NULL;
|
||||
#if !(MI_INTPTR_SIZE==4 && MI_LIBC_MUSL) // fix 32-bit musl compilation, issue #895
|
||||
#if (MI_INTPTR_SIZE==4 && MI_LIBC_MUSL) // fix 32-bit musl compilation, issue #895
|
||||
MI_UNUSED(mi_arena_static_zalloc);
|
||||
#else
|
||||
p = mi_arena_static_zalloc(size, MI_MAX_ALIGN_SIZE, memid);
|
||||
#endif
|
||||
if (p != NULL) return p;
|
||||
|
||||
Reference in New Issue
Block a user