Fixed compilation error of "mruby-pack" with MRB_NO_STDIO

This commit is contained in:
dearblue
2021-08-07 14:29:55 +09:00
parent 35d230a669
commit 18ef4e35f3
+4
View File
@@ -18,6 +18,10 @@
#define INT_OVERFLOW_P(n) ((n) < MRB_INT_MIN || (n) > MRB_INT_MAX)
#define UINT_OVERFLOW_P(n) ((n) > MRB_INT_MAX)
#ifndef EOF
# define EOF (-1) /* for MRB_NO_STDIO */
#endif
struct tmpl {
mrb_value str;
int idx;