summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger
diff options
context:
space:
mode:
authordearblue <[email protected]>2020-03-08 21:34:23 +0900
committerdearblue <[email protected]>2020-03-08 21:57:17 +0900
commit67606170e3ca001ecd6885dac957f4bbdb094bad (patch)
tree5599b7521bcf5b745955bd2af80d6bc3a5d7fb20 /mrbgems/mruby-bin-debugger
parentcc1db2d1172de6187467372ad6f175eccdd97d59 (diff)
downloadmruby-67606170e3ca001ecd6885dac957f4bbdb094bad.tar.gz
mruby-67606170e3ca001ecd6885dac957f4bbdb094bad.zip
Add configuration guard for `MRB_DISABLE_STDIO`
ref #4576 and ref #4947 * Need MRBAPI functions without `MRB_DISABLE_STDIO`: * mrbgems/mruby-bin-debugger * mrbgems/mruby-bin-mirb * mrbgems/mruby-bin-mrbc * mrbgems/mruby-bin-mruby * mrbgems/mruby-bin-strip * Need `stdio.h`: * mrbgems/mruby-io * mrbgems/mruby-print * Need `snprintf()` in `stdio.h`: * mrbgems/mruby-pack * mrbgems/mruby-sprintf
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
index 2b445182b..080b0616b 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
@@ -10,6 +10,10 @@
# error mruby-bin-debugger need 'MRB_ENABLE_DEBUG_HOOK' configuration in your 'build_config.rb'
#endif
+#ifdef MRB_DISABLE_STDIO
+# error mruby-bin-debugger conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+#endif
+
/* configuration options: */
/* maximum size for command buffer */
#define MAX_COMMAND_LINE 1024