add mkstemp for msvc builds

This commit is contained in:
Brent Cook
2025-10-07 05:38:30 -05:00
parent 659e87fe1c
commit 7ed28d2f50
3 changed files with 63 additions and 12 deletions

View File

@@ -45,6 +45,8 @@ static inline unsigned int sleep(unsigned int seconds)
Sleep(seconds * 1000);
return seconds;
}
int mkstemp(char *template);
#endif
int ftruncate(int fd, off_t length);