diff options
author | Ron Yorston <rmy@pobox.com> | 2014-01-07 22:39:35 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-01-07 22:39:35 +0000 |
commit | 7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03 (patch) | |
tree | 11b7d44f8c42d7d39d641e56d6fdd5ef7aed94d6 /include | |
parent | 94150aba92d308e417aa552a1b3a957be264b423 (diff) | |
download | busybox-w32-7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03.tar.gz busybox-w32-7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03.tar.bz2 busybox-w32-7f0cb741c77f74a48ffd10a1e7d36ff2adf95f03.zip |
Implement POSIX-compliant mktemp for WIN32
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index b3fc603c0..d6eb5d22c 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -164,12 +164,14 @@ int mingw_system(const char *cmd); | |||
164 | 164 | ||
165 | int clearenv(void); | 165 | int clearenv(void); |
166 | char *mingw_getenv(const char *name); | 166 | char *mingw_getenv(const char *name); |
167 | char *mingw_mktemp(char *template); | ||
167 | int mkstemp(char *template); | 168 | int mkstemp(char *template); |
168 | char *realpath(const char *path, char *resolved_path); | 169 | char *realpath(const char *path, char *resolved_path); |
169 | int setenv(const char *name, const char *value, int replace); | 170 | int setenv(const char *name, const char *value, int replace); |
170 | void unsetenv(const char *env); | 171 | void unsetenv(const char *env); |
171 | 172 | ||
172 | #define getenv mingw_getenv | 173 | #define getenv mingw_getenv |
174 | #define mktemp mingw_mktemp | ||
173 | 175 | ||
174 | /* | 176 | /* |
175 | * sys/ioctl.h | 177 | * sys/ioctl.h |