From 7c8c9f9532324fd8c93afa22ed365c74e7e7e610 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 13 Dec 2017 00:08:10 +0900 Subject: mingw have mkstemp --- 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 53824522d..7e25dddc2 100644 --- a/mrbgems/mruby-io/test/mruby_io_test.c +++ b/mrbgems/mruby-io/test/mruby_io_test.c @@ -15,12 +15,14 @@ typedef int mode_t; #endif +#ifdef _MSC_VER static int mkstemp(char *p) { _mktemp(p); return 0; } +#endif static char* mkdtemp(char *temp) -- cgit v1.2.3