From fff0f17b490c70e4b99e7118d8c329939a9ebf1f Mon Sep 17 00:00:00 2001 From: Rory OConnell <19547+RoryO@users.noreply.github.com> Date: Tue, 1 Sep 2020 16:13:52 -0700 Subject: Better malloc_trim define name --- src/gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gc.c b/src/gc.c index 302d5cd68..3fba68668 100644 --- a/src/gc.c +++ b/src/gc.c @@ -6,7 +6,7 @@ #include #include -#ifdef HAS_MALLOC_TRIM +#ifdef MRB_USE_MALLOC_TRIM #include #endif #include @@ -1322,7 +1322,7 @@ mrb_full_gc(mrb_state *mrb) gc->full = FALSE; } -#ifdef HAS_MALLOC_TRIM +#ifdef MRB_USE_MALLOC_TRIM malloc_trim(0); #endif GC_TIME_STOP_AND_REPORT; -- cgit v1.2.3