mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Do not forget to include malloc zone implementation in the static object
This commit is contained in:
parent
4a0c53ba5a
commit
07d72f4fba
2 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,7 @@ if(MI_OVERRIDE MATCHES "ON")
|
|||
# use zone's on macOS
|
||||
message(STATUS " Use malloc zone to override malloc (MI_OSX_ZONE=ON)")
|
||||
list(APPEND mi_sources src/alloc-override-osx.c)
|
||||
list(APPEND mi_defines MI_OSX_ZONE=1)
|
||||
if(NOT MI_INTERPOSE MATCHES "ON")
|
||||
message(STATUS " (enabling INTERPOSE as well since zone's require this)")
|
||||
set(MI_INTERPOSE "ON")
|
||||
|
|
|
@ -24,5 +24,8 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#include "alloc.c"
|
||||
#include "alloc-aligned.c"
|
||||
#include "alloc-posix.c"
|
||||
#if MI_OSX_ZONE
|
||||
#include "alloc-override-osx.c"
|
||||
#endif
|
||||
#include "init.c"
|
||||
#include "options.c"
|
||||
|
|
Loading…
Add table
Reference in a new issue