summaryrefslogtreecommitdiff
path: root/src/os_win32.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-11 23:01:39 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-11 23:01:39 +0100
commit49c99fcca00740ae4feaba82bef4f9dc70b65318 (patch)
treec611d029f7c2f857dc78dec8796dbf19573c75fa /src/os_win32.h
parent5489eab34528ba31054bc7c99af120b07f543b78 (diff)
downloadvim-git-49c99fcca00740ae4feaba82bef4f9dc70b65318.tar.gz
patch 8.2.0246: MSVC: deprecation warnings with Rubyv8.2.0246
Problem: MSVC: deprecation warnings with Ruby. Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata, closes #5622)
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index f1be8c441..abe95b5fe 100644
--- 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