diff src/os_win32.h @ 638:593092a5362b

updated for version 7.0185
author vimboss
date Sun, 22 Jan 2006 23:22:22 +0000
parents 0fd7ac767ecd
children 73fe8baea242
line wrap: on
line diff
--- 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() */