aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index a828bd835..ed718fb5d 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -258,6 +258,7 @@ IMPL(strptime,char*,NULL,const char *s UNUSED_PARAM, const char *format UNUSED_P
258IMPL(alarm,unsigned int,0,unsigned int seconds UNUSED_PARAM); 258IMPL(alarm,unsigned int,0,unsigned int seconds UNUSED_PARAM);
259NOIMPL(chown,const char *path UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM); 259NOIMPL(chown,const char *path UNUSED_PARAM, uid_t uid UNUSED_PARAM, gid_t gid UNUSED_PARAM);
260NOIMPL(chroot,const char *root UNUSED_PARAM); 260NOIMPL(chroot,const char *root UNUSED_PARAM);
261int mingw_dup2 (int fd, int fdto);
261char *mingw_getcwd(char *pointer, int len); 262char *mingw_getcwd(char *pointer, int len);
262 263
263 264
@@ -293,6 +294,7 @@ static inline void sync(void) {}
293int mingw_unlink(const char *pathname); 294int mingw_unlink(const char *pathname);
294NOIMPL(vfork,void); 295NOIMPL(vfork,void);
295 296
297#define dup2 mingw_dup2
296#define getcwd mingw_getcwd 298#define getcwd mingw_getcwd
297#define lchown(a,b,c) chown(a,b,c) 299#define lchown(a,b,c) chown(a,b,c)
298#define open mingw_open 300#define open mingw_open