mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mingw have mkstemp
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user