diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-03-08 22:37:22 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-08 22:37:22 +0900 |
| commit | 0dacc9a62a1772362f82e7c53cf18d6223e8a917 (patch) | |
| tree | 5599b7521bcf5b745955bd2af80d6bc3a5d7fb20 /mrbgems/mruby-bin-debugger | |
| parent | 5bf5a2cc6e9e78cb84118c08dd9498bbe854e7cb (diff) | |
| parent | 67606170e3ca001ecd6885dac957f4bbdb094bad (diff) | |
| download | mruby-0dacc9a62a1772362f82e7c53cf18d6223e8a917.tar.gz mruby-0dacc9a62a1772362f82e7c53cf18d6223e8a917.zip | |
Merge pull request #4954 from dearblue/nostdio
Improve configuration guard
Diffstat (limited to 'mrbgems/mruby-bin-debugger')
| -rw-r--r-- | mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c | 1 | ||||
| -rw-r--r-- | mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c index d2fa4c856..8fab3c2e8 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c @@ -5,7 +5,6 @@ #include <stdlib.h> #include <string.h> -#include <stdio.h> #include <ctype.h> #include <mruby.h> diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h index de2f90144..080b0616b 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h @@ -7,7 +7,11 @@ #define MRDBCONF_H #ifndef MRB_ENABLE_DEBUG_HOOK -# error Need 'MRB_ENABLE_DEBUG_HOOK' configuration in your 'build_config.rb' +# 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: */ |
