diff options
| author | Hiroshi Mimaki <[email protected]> | 2017-12-08 12:58:26 +0900 |
|---|---|---|
| committer | Hiroshi Mimaki <[email protected]> | 2017-12-08 12:58:26 +0900 |
| commit | 7f3bda56537e0a069955563ef00743e8968a6809 (patch) | |
| tree | ba457eec08d1ddc992fc8ff913dff68d969b1754 | |
| parent | 83065df67a89f205f372b804ac1f39e6f3d9439d (diff) | |
| download | mruby-7f3bda56537e0a069955563ef00743e8968a6809.tar.gz mruby-7f3bda56537e0a069955563ef00743e8968a6809.zip | |
Fixed compile error of `mruby-io` gem on MinGW.
| -rw-r--r-- | mrbgems/mruby-io/test/mruby_io_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h> #include <malloc.h> +#if (!defined __MINGW64__) && (!defined __MINGW32__) typedef int mode_t; +#endif static int mkstemp(char *p) |
