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-io/include | |
| 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-io/include')
| -rw-r--r-- | mrbgems/mruby-io/include/mruby/ext/io.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/include/mruby/ext/io.h b/mrbgems/mruby-io/include/mruby/ext/io.h index c4eccb936..38ed0f222 100644 --- a/mrbgems/mruby-io/include/mruby/ext/io.h +++ b/mrbgems/mruby-io/include/mruby/ext/io.h @@ -5,6 +5,12 @@ #ifndef MRUBY_IO_H #define MRUBY_IO_H +#include <mruby.h> + +#ifdef MRB_DISABLE_STDIO +# error IO and File conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb' +#endif + #if defined(__cplusplus) extern "C" { #endif |
