diff options
| author | Brent Cook <busterb@gmail.com> | 2025-10-07 05:38:30 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2025-10-07 05:38:30 -0500 |
| commit | 7ed28d2f501a4920b792bee9da3d61814f024a4c (patch) | |
| tree | b5ff3f835188bb8ba3a00a9d7185a3762ffa6c15 /include | |
| parent | 659e87fe1cf3348a4e9f1bacfe205316fefd8a51 (diff) | |
| download | portable-7ed28d2f501a4920b792bee9da3d61814f024a4c.tar.gz portable-7ed28d2f501a4920b792bee9da3d61814f024a4c.tar.bz2 portable-7ed28d2f501a4920b792bee9da3d61814f024a4c.zip | |
add mkstemp for msvc builds
Diffstat (limited to 'include')
| -rw-r--r-- | include/compat/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 63c07fc..544cb27 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h | |||
| @@ -45,6 +45,8 @@ static inline unsigned int sleep(unsigned int seconds) | |||
| 45 | Sleep(seconds * 1000); | 45 | Sleep(seconds * 1000); |
| 46 | return seconds; | 46 | return seconds; |
| 47 | } | 47 | } |
| 48 | |||
| 49 | int mkstemp(char *template); | ||
| 48 | #endif | 50 | #endif |
| 49 | 51 | ||
| 50 | int ftruncate(int fd, off_t length); | 52 | int ftruncate(int fd, off_t length); |
