aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h5
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
246mode_t mingw_umask(mode_t mode);
247#define umask mingw_umask
248
249#define DEFAULT_UMASK 0002
250
246IMPL(fchmod,int,0,int fildes UNUSED_PARAM, mode_t mode UNUSED_PARAM); 251IMPL(fchmod,int,0,int fildes UNUSED_PARAM, mode_t mode UNUSED_PARAM);
247NOIMPL(fchown,int fd UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); 252NOIMPL(fchown,int fd UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM);
248int mingw_mkdir(const char *path, int mode); 253int mingw_mkdir(const char *path, int mode);