summaryrefslogtreecommitdiff
path: root/src/os_win32.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-22 23:22:22 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-22 23:22:22 +0000
commit66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8 (patch)
tree694bb4e0de4e1f9b6c9eb7a59498c785acd9022c /src/os_win32.h
parent0ac9379acfad03dd478bd4b0e1e1b3c267dbdeba (diff)
downloadvim-git-66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8.tar.gz
updated for version 7.0185
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index b83935924..15e616061 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -15,6 +15,12 @@
#include <direct.h> /* for _mkdir() */
#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 SYNC_DUP_CLOSE /* sync() a file with dup() and close() */