comparison src/os_win32.h @ 14822:aa9c7588d30a v8.1.0423

patch 8.1.0423: MS-Windows: using dup-close for flushing a file commit https://github.com/vim/vim/commit/0bd405173234b7d749aac144f60b68fee2135cb3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 21 14:48:53 2018 +0200 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 https://github.com/vim/vim/issues/3463)
author Christian Brabandt <cb@256bit.org>
date Fri, 21 Sep 2018 15:00:06 +0200
parents 27e814e21594
children 62b3805506b3
comparison
equal deleted inserted replaced
14821:edc3d7023442 14822:aa9c7588d30a
24 # define _CRT_NONSTDC_NO_DEPRECATE 24 # define _CRT_NONSTDC_NO_DEPRECATE
25 #endif 25 #endif
26 26
27 #define BINARY_FILE_IO 27 #define BINARY_FILE_IO
28 #define USE_EXE_NAME /* use argv[0] for $VIM */ 28 #define USE_EXE_NAME /* use argv[0] for $VIM */
29 #define SYNC_DUP_CLOSE /* sync() a file with dup() and close() */
30 #define USE_TERM_CONSOLE 29 #define USE_TERM_CONSOLE
31 #ifndef HAVE_STRING_H 30 #ifndef HAVE_STRING_H
32 # define HAVE_STRING_H 31 # define HAVE_STRING_H
33 #endif 32 #endif
34 #ifndef HAVE_MATH_H 33 #ifndef HAVE_MATH_H