From 7f3bda56537e0a069955563ef00743e8968a6809 Mon Sep 17 00:00:00 2001 From: Hiroshi Mimaki Date: Fri, 8 Dec 2017 12:58:26 +0900 Subject: Fixed compile error of `mruby-io` gem on MinGW. --- mrbgems/mruby-io/test/mruby_io_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c index 2c9efbe85..1b14b38d4 100644 --- a/mrbgems/mruby-io/test/mruby_io_test.c +++ b/mrbgems/mruby-io/test/mruby_io_test.c @@ -11,7 +11,9 @@ #include #include +#if (!defined __MINGW64__) && (!defined __MINGW32__) typedef int mode_t; +#endif static int mkstemp(char *p) -- cgit v1.2.3