summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c')
-rw-r--r--mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c b/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
index bda8c7b65..bdc3925b0 100644
--- a/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
+++ b/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
@@ -1,6 +1,11 @@
+#include <mruby.h>
+
+#ifdef MRB_DISABLE_STDIO
+# error mruby-bin-mrbc conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+#endif
+
#include <stdlib.h>
#include <string.h>
-#include <mruby.h>
#include <mruby/compile.h>
#include <mruby/dump.h>
#include <mruby/proc.h>