0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.1.0941: macros for MS-Windows are inconsistent

Problem:    Macros for MS-Windows are inconsistent, using "32", "3264 and
            others.
Solution:   Use MSWIN for all MS-Windows builds.  Use FEAT_GUI_MSWIN for the
            GUI build. (Hirohito Higashi, closes #3932)
This commit is contained in:
Bram Moolenaar
2019-02-17 17:44:42 +01:00
parent 78d21dae9c
commit 4f97475d32
68 changed files with 537 additions and 539 deletions

View File

@@ -621,7 +621,7 @@ mf_sync(memfile_T *mfp, int flags)
status = FAIL;
}
#endif
#ifdef WIN32
#ifdef MSWIN
if (_commit(mfp->mf_fd))
status = FAIL;
#endif
@@ -1265,7 +1265,7 @@ mf_do_open(
* try to open the file
*/
flags |= O_EXTRA | O_NOFOLLOW;
#ifdef WIN32
#ifdef MSWIN
/* Prevent handle inheritance that cause problems with Cscope
* (swap file may not be deleted if cscope connection was open after
* the file) */