Unverified Commit fff0f17b authored by Rory OConnell's avatar Rory OConnell Committed by Yukihiro "Matz" Matsumoto

Better malloc_trim define name

parent 2b05cf48
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment