From 9a6f9c6a68770e88279fbd88bb03665897018014 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 8 May 2020 19:05:49 +0530 Subject: [PATCH] Fix incompatibility with latest mruby --- binding-mruby/binding-mruby.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binding-mruby/binding-mruby.cpp b/binding-mruby/binding-mruby.cpp index 52f88c6..ad4b347 100644 --- a/binding-mruby/binding-mruby.cpp +++ b/binding-mruby/binding-mruby.cpp @@ -219,6 +219,7 @@ runCustomScript(mrb_state *mrb, mrbc_context *ctx, const char *filename) static void runMrbFile(mrb_state *mrb, const char *filename) { +#if 0 /* Execute compiled script */ FILE *f = fopen(filename, "rb"); @@ -246,6 +247,7 @@ runMrbFile(mrb_state *mrb, const char *filename) mrb_run(mrb, proc, mrb_top_self(mrb)); fclose(f); +#endif } mrb_state * static_mrb;