summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-12-14 14:57:10 +0900
committerdearblue <[email protected]>2019-12-14 14:57:10 +0900
commitec1ef925a9f32e668da03723e620490e22406503 (patch)
treeebfec9d8444acd2d33cf9af3866ba32a4057bbd1
parent6c5ee8f79e430354fe7e569553bda2d6f79b7aee (diff)
downloadmruby-ec1ef925a9f32e668da03723e620490e22406503.tar.gz
mruby-ec1ef925a9f32e668da03723e620490e22406503.zip
Fix mruby-io test for mingw32
Need `mkstemp()` implements.
-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