diff options
| author | dearblue <[email protected]> | 2020-03-08 21:34:23 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2020-03-08 21:57:17 +0900 |
| commit | 67606170e3ca001ecd6885dac957f4bbdb094bad (patch) | |
| tree | 5599b7521bcf5b745955bd2af80d6bc3a5d7fb20 /mrbgems/mruby-bin-debugger | |
| parent | cc1db2d1172de6187467372ad6f175eccdd97d59 (diff) | |
| download | mruby-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.h | 4 |
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 |
