diff options
| author | Yasuhiro Matsumoto <[email protected]> | 2017-12-13 00:08:10 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <[email protected]> | 2017-12-13 00:08:10 +0900 |
| commit | 7c8c9f9532324fd8c93afa22ed365c74e7e7e610 (patch) | |
| tree | 14d872dd0af61fd030bfb6f6bebdfbbf3f118062 /mrbgems/mruby-io/test | |
| parent | 7ff907f6805007588775a5d872b4c6d9cb15746e (diff) | |
| download | mruby-7c8c9f9532324fd8c93afa22ed365c74e7e7e610.tar.gz mruby-7c8c9f9532324fd8c93afa22ed365c74e7e7e610.zip | |
mingw have mkstemp
Diffstat (limited to 'mrbgems/mruby-io/test')
| -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 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) |
