diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 4 |
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 | ||
122 | int fdprintf(int fd, const char *format, ...); | 122 | int fdprintf(int fd, const char *format, ...); |
123 | FILE* 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); | |||
269 | NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); | 271 | NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); |
270 | int link(const char *oldpath, const char *newpath); | 272 | int link(const char *oldpath, const char *newpath); |
271 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); | 273 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); |
274 | int mingw_open (const char *filename, int oflags, ...); | ||
272 | int pipe(int filedes[2]); | 275 | int pipe(int filedes[2]); |
273 | NOIMPL(readlink,const char *path UNUSED_PARAM, char *buf UNUSED_PARAM, size_t bufsiz UNUSED_PARAM); | 276 | NOIMPL(readlink,const char *path UNUSED_PARAM, char *buf UNUSED_PARAM, size_t bufsiz UNUSED_PARAM); |
274 | NOIMPL(setgid,gid_t gid UNUSED_PARAM); | 277 | NOIMPL(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 | /* |