Merge pull request #3874 from mimaki/fix-mingw-compile-error

Fixed compile error of `mruby-io` gem on MinGW.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-12-08 14:34:10 +09:00
committed by GitHub
+2
View File
@@ -11,7 +11,9 @@
#include <stdlib.h>
#include <malloc.h>
#if (!defined __MINGW64__) && (!defined __MINGW32__)
typedef int mode_t;
#endif
static int
mkstemp(char *p)