patch 8.1.0423: MS-Windows: using dup-close for flushing a file

Problem:    MS-Windows: using dup-close for flushing a file.
Solution:   Use _commit(). (Ken Takata, closes #3463)
This commit is contained in:
Bram Moolenaar
2018-09-21 14:48:53 +02:00
parent 4ff4290de1
commit 0bd4051732
4 changed files with 5 additions and 12 deletions

View File

@ -101,7 +101,6 @@
#define HAVE_AVAIL_MEM
#ifndef HAVE_CONFIG_H
/* #define SYNC_DUP_CLOSE sync() a file with dup() and close() */
# define HAVE_STRING_H
# define HAVE_STRCSPN
# define HAVE_MEMSET