mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
add MI_USE_LIBATOMIC to link with -latomic on older systems (see also PR #429); rename MI_INTERPOSE to MI_OSX_INTERPOSE
This commit is contained in:
parent
8dd8db8354
commit
4d89176eb4
3 changed files with 12 additions and 7 deletions
|
@ -229,7 +229,7 @@ static malloc_zone_t mi_malloc_zone = {
|
|||
};
|
||||
|
||||
|
||||
#if defined(MI_SHARED_LIB_EXPORT) && defined(MI_INTERPOSE)
|
||||
#if defined(MI_SHARED_LIB_EXPORT) && defined(MI_OSX_INTERPOSE)
|
||||
|
||||
static malloc_zone_t *mi_malloc_default_zone(void) {
|
||||
return &mi_malloc_zone;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue