Skip to content

Commit 0c322c5

Browse files
committed
add reference to page_malloc_zero in C++ build
1 parent cf10af7 commit 0c322c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/alloc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ mi_decl_nodiscard void* mi_new_reallocn(void* p, size_t newcount, size_t size) {
584584
#ifdef __cplusplus
585585
void* _mi_externs[] = {
586586
(void*)&_mi_page_malloc,
587+
(void*)&_mi_page_malloc_zero,
587588
(void*)&_mi_heap_malloc_zero,
588589
(void*)&_mi_heap_malloc_zero_ex,
589590
(void*)&mi_malloc,

0 commit comments

Comments
 (0)