0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated

Problem:    MS-Windows: dealing with deprecation is too complicated.
Solution:   Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
            file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
            Takata, closes #5626)
This commit is contained in:
Bram Moolenaar
2020-02-12 21:15:43 +01:00
parent 3b0ef8cfdb
commit 2f18975088
7 changed files with 10 additions and 26 deletions

View File

@@ -18,7 +18,7 @@
#endif
#ifdef MSWIN
# include "vimio.h"
# include <io.h>
#endif
// ============ the header file puzzle: order matters =========