From a5a7d30fe9b1bcb6648f7a15e8a26ff4199a546b Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sun, 2 May 1999 10:36:23 +0000 Subject: [PATCH] (HAVE_FSYNC): New macro. (fsync): Map to _commit. (ftruncate): Map to _chsize. --- src/s/ms-w32.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index f3db0c54275..bbbc33d4a0d 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h @@ -237,6 +237,7 @@ Boston, MA 02111-1307, USA. */ #define HAVE_DUP2 1 #define HAVE_RENAME 1 #define HAVE_CLOSEDIR 1 +#define HAVE_FSYNC 1 /* fsync is called _commit in MSVC. */ #undef TM_IN_SYS_TIME #undef HAVE_TM_ZONE @@ -352,6 +353,8 @@ Boston, MA 02111-1307, USA. */ #define fileno _fileno #define flushall _flushall #define fputchar _fputchar +#define fsync _commit +#define ftruncate _chsize #define getw _getw #define getpid _getpid #define isatty _isatty -- 2.39.2