diff options
author | Andrew Innes <[email protected]> | 1999-05-02 10:36:23 +0000 |
---|---|---|
committer | Andrew Innes <[email protected]> | 1999-05-02 10:36:23 +0000 |
commit | a5a7d30fe9b1bcb6648f7a15e8a26ff4199a546b (patch) | |
tree | 7f8ba64728500b75aaf72a0863ac60556937d3fa /src | |
parent | e12ca9c2ece5970bb6b131f1705d648ebddd7e2b (diff) |
(HAVE_FSYNC): New macro.
(fsync): Map to _commit.
(ftruncate): Map to _chsize.
Diffstat (limited to 'src')
-rw-r--r-- | src/s/ms-w32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index f3db0c5427..bbbc33d4a0 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 |