Fixed compile error of mruby-io gem on MinGW.

This commit is contained in:
Hiroshi Mimaki
2017-12-08 12:58:26 +09:00
parent 83065df67a
commit 7f3bda5653
+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)