mingw have mkstemp

This commit is contained in:
Yasuhiro Matsumoto
2017-12-13 00:08:10 +09:00
parent 7ff907f680
commit 7c8c9f9532
+2
View File
@@ -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)