summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-12-17 00:49:01 +0900
committerGitHub <[email protected]>2019-12-17 00:49:01 +0900
commit8bc9a79e65bb4ee9f1791daf2726d33ac43d727d (patch)
tree901079fe97f862344c12a2a480879bb0bd504041
parent6a22fa7f47602cd4e971e67a95bd867ecffec99f (diff)
parentec1ef925a9f32e668da03723e620490e22406503 (diff)
downloadmruby-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.c2
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