Commit 068cbef6 authored by Masaki Muranaka's avatar Masaki Muranaka

Add check for using cdump with DISABLE_STDIO option.

parent 4258d773
...@@ -12,7 +12,11 @@ extern "C" { ...@@ -12,7 +12,11 @@ extern "C" {
#endif #endif
#include "mruby.h" #include "mruby.h"
#include <stdio.h> #ifdef DISABLE_STDIO
# error "Configuration conflict. Can't use with DISABLE_STDIO option."
#else
# include <stdio.h>
#endif
int mrb_cdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname); int mrb_cdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment