1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2020-02-11 23:01:39 +01:00
parent 5489eab345
commit 49c99fcca0
6 changed files with 10 additions and 24 deletions

View File

@@ -119,12 +119,6 @@
# endif
#endif
// Visual Studio 2005 has 'deprecated' many of the standard CRT functions
#if _MSC_VER >= 1400
# define _CRT_SECURE_NO_DEPRECATE
# define _CRT_NONSTDC_NO_DEPRECATE
#endif
/*
* VIM_SIZEOF_INT is used in feature.h, and the system-specific included files
* need items from feature.h. Therefore define VIM_SIZEOF_INT here.