aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/file_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/file_util.h')
-rw-r--r--wsutil/file_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wsutil/file_util.h b/wsutil/file_util.h
index a3867196ab..09c5c64af9 100644
--- a/wsutil/file_util.h
+++ b/wsutil/file_util.h
@@ -94,6 +94,9 @@ extern FILE * ws_stdio_freopen (const gchar *filename, const gchar *mode, FILE *
#define ws_dup _dup
#define ws_fstat64 _fstati64 /* use _fstati64 for 64-bit size support */
#define ws_lseek64 _lseeki64 /* use _lseeki64 for 64-bit offset support */
+#define ws_fdopen _fdopen
+#define ws_fclose fclose
+#define ws_fflush fflush
/* DLL loading */
@@ -149,6 +152,9 @@ extern char *getenv_utf8(const char *varname);
#define ws_dup dup
#define ws_fstat64 fstat /* AC_SYS_LARGEFILE should make off_t 64-bit */
#define ws_lseek64 lseek /* AC_SYS_LARGEFILE should make off_t 64-bit */
+#define ws_fdopen fdopen
+#define ws_fclose fclose
+#define ws_fflush fflush
#define O_BINARY 0 /* Win32 needs the O_BINARY flag for open() */
#endif /* _WIN32 */