aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 57fa6177d..ba73c362e 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -120,6 +120,8 @@ NOIMPL(sigfillset,int *mask UNUSED_PARAM);
120#define fseeko(f,o,w) fseek(f,o,w) 120#define fseeko(f,o,w) fseek(f,o,w)
121 121
122int fdprintf(int fd, const char *format, ...); 122int fdprintf(int fd, const char *format, ...);
123FILE* mingw_fopen(const char *filename, const char *mode);
124#define fopen mingw_fopen
123 125
124/* 126/*
125 * ANSI emulation wrappers 127 * ANSI emulation wrappers
@@ -269,6 +271,7 @@ IMPL(fsync,int,0,int fd UNUSED_PARAM);
269NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); 271NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM);
270int link(const char *oldpath, const char *newpath); 272int link(const char *oldpath, const char *newpath);
271NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); 273NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM);
274int mingw_open (const char *filename, int oflags, ...);
272int pipe(int filedes[2]); 275int pipe(int filedes[2]);
273NOIMPL(readlink,const char *path UNUSED_PARAM, char *buf UNUSED_PARAM, size_t bufsiz UNUSED_PARAM); 276NOIMPL(readlink,const char *path UNUSED_PARAM, char *buf UNUSED_PARAM, size_t bufsiz UNUSED_PARAM);
274NOIMPL(setgid,gid_t gid UNUSED_PARAM); 277NOIMPL(setgid,gid_t gid UNUSED_PARAM);
@@ -282,6 +285,7 @@ NOIMPL(vfork,void);
282 285
283#define getcwd mingw_getcwd 286#define getcwd mingw_getcwd
284#define lchown(a,b,c) chown(a,b,c) 287#define lchown(a,b,c) chown(a,b,c)
288#define open mingw_open
285#define unlink mingw_unlink 289#define unlink mingw_unlink
286 290
287/* 291/*