comparison src/winclip.c @ 19380:1e78bf92f168 v8.2.0248

patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated Commit: https://github.com/vim/vim/commit/2f189750887636fecd440d7ef353d9224e48713f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 12 21:15:43 2020 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Feb 2020 21:30:03 +0100
parents 15539899a112
children 599b29b6e540
comparison
equal deleted inserted replaced
19379:48ab371a959f 19380:1e78bf92f168
12 * 12 *
13 * Routines for Win32 clipboard handling. 13 * Routines for Win32 clipboard handling.
14 * Also used by Cygwin, using os_unix.c. 14 * Also used by Cygwin, using os_unix.c.
15 */ 15 */
16 16
17 #include "vimio.h"
18 #include "vim.h" 17 #include "vim.h"
19 18
20 /* 19 /*
21 * Compile only the clipboard handling features when compiling for cygwin 20 * Compile only the clipboard handling features when compiling for cygwin
22 * posix environment. 21 * posix environment.