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:
@@ -7,12 +7,6 @@
|
||||
* See README.txt for an overview of the Vim source code.
|
||||
*/
|
||||
|
||||
// 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
|
||||
|
||||
// cproto fails on missing include files
|
||||
#ifndef PROTO
|
||||
# include <io.h>
|
||||
|
||||
Reference in New Issue
Block a user