diff options
| author | Rory OConnell <[email protected]> | 2020-09-01 16:13:52 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 18:20:13 +0900 |
| commit | fff0f17b490c70e4b99e7118d8c329939a9ebf1f (patch) | |
| tree | e2fec87e93f922960c77e24559a1055c83362036 /src/gc.c | |
| parent | 2b05cf48d05e8be79853458e881075b38c1171e3 (diff) | |
| download | mruby-fff0f17b490c70e4b99e7118d8c329939a9ebf1f.tar.gz mruby-fff0f17b490c70e4b99e7118d8c329939a9ebf1f.zip | |
Better malloc_trim define name
Diffstat (limited to 'src/gc.c')
| -rw-r--r-- | src/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ #include <string.h> #include <stdlib.h> -#ifdef HAS_MALLOC_TRIM +#ifdef MRB_USE_MALLOC_TRIM #include <malloc.h> #endif #include <mruby.h> @@ -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; |
