diff src/os_win32.h @ 19376:1cae476a7c82 v8.2.0246

patch 8.2.0246: MSVC: deprecation warnings with Ruby Commit: https://github.com/vim/vim/commit/49c99fcca00740ae4feaba82bef4f9dc70b65318 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 11 23:01:39 2020 +0100 patch 8.2.0246: MSVC: deprecation warnings with Ruby Problem: MSVC: deprecation warnings with Ruby. Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata, closes #5622)
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Feb 2020 23:15:04 +0100
parents 6e3dc2d630c2
children fc859aea8cec
line wrap: on
line diff
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -18,12 +18,6 @@
 # endif
 #endif
 
-// Stop the VC2005 compiler from nagging.
-#if _MSC_VER >= 1400
-# define _CRT_SECURE_NO_DEPRECATE
-# define _CRT_NONSTDC_NO_DEPRECATE
-#endif
-
 #define BINARY_FILE_IO
 #define USE_EXE_NAME		// use argv[0] for $VIM
 #define USE_TERM_CONSOLE