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:
Daan 2021-10-20 09:35:58 -07:00
parent 8dd8db8354
commit 4d89176eb4
3 changed files with 12 additions and 7 deletions

View file

@ -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;