Skip to content

Commit 498a365

Browse files
fix unused macro name for emscripten build
fix unused macro name for emscripten build
2 parents 03ba262 + d66ba0b commit 498a365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/os.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,11 +638,11 @@ static void* mi_os_mem_alloc(size_t size, size_t try_alignment, bool commit, boo
638638
if (commit) flags |= MEM_COMMIT;
639639
p = mi_win_virtual_alloc(NULL, size, try_alignment, flags, false, allow_large, is_large);
640640
#elif defined(MI_USE_SBRK)
641-
KK_UNUSED(allow_large);
641+
MI_UNUSED(allow_large);
642642
*is_large = false;
643643
p = mi_sbrk_heap_grow(size, try_alignment);
644644
#elif defined(__wasi__)
645-
KK_UNUSED(allow_large);
645+
MI_UNUSED(allow_large);
646646
*is_large = false;
647647
p = mi_wasm_heap_grow(size, try_alignment);
648648
#else

0 commit comments

Comments
 (0)