mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #3874 from mimaki/fix-mingw-compile-error
Fixed compile error of `mruby-io` gem on MinGW.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user