diff options
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index b712e4ec0..2dc3ddfd7 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -243,6 +243,11 @@ NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len | |||
243 | #define S_IWOTH (S_IWGRP >> 3) | 243 | #define S_IWOTH (S_IWGRP >> 3) |
244 | #define S_IXOTH (S_IXGRP >> 3) | 244 | #define S_IXOTH (S_IXGRP >> 3) |
245 | 245 | ||
246 | mode_t mingw_umask(mode_t mode); | ||
247 | #define umask mingw_umask | ||
248 | |||
249 | #define DEFAULT_UMASK 0002 | ||
250 | |||
246 | IMPL(fchmod,int,0,int fildes UNUSED_PARAM, mode_t mode UNUSED_PARAM); | 251 | IMPL(fchmod,int,0,int fildes UNUSED_PARAM, mode_t mode UNUSED_PARAM); |
247 | NOIMPL(fchown,int fd UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); | 252 | NOIMPL(fchown,int fd UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); |
248 | int mingw_mkdir(const char *path, int mode); | 253 | int mingw_mkdir(const char *path, int mode); |