diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-12-17 00:49:01 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-17 00:49:01 +0900 |
| commit | 8bc9a79e65bb4ee9f1791daf2726d33ac43d727d (patch) | |
| tree | 901079fe97f862344c12a2a480879bb0bd504041 | |
| parent | 6a22fa7f47602cd4e971e67a95bd867ecffec99f (diff) | |
| parent | ec1ef925a9f32e668da03723e620490e22406503 (diff) | |
| download | mruby-8bc9a79e65bb4ee9f1791daf2726d33ac43d727d.tar.gz mruby-8bc9a79e65bb4ee9f1791daf2726d33ac43d727d.zip | |
Merge pull request #4869 from dearblue/mingw32-io-test
Fix mruby-io test for mingw32
| -rw-r--r-- | mrbgems/mruby-io/test/mruby_io_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c index f5c55499b..1c31c5fe0 100644 --- a/mrbgems/mruby-io/test/mruby_io_test.c +++ b/mrbgems/mruby-io/test/mruby_io_test.c @@ -18,7 +18,7 @@ typedef int mode_t; #define open _open #define close _close -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__MINGW32__) #include <sys/stat.h> static int |
