commit | 66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 22 23:22:22 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 22 23:22:22 2006 +0000 |
tree | 694bb4e0de4e1f9b6c9eb7a59498c785acd9022c | |
parent | 0ac9379acfad03dd478bd4b0e1e1b3c267dbdeba [diff] [blame] |
updated for version 7.0185
diff --git a/src/os_win32.h b/src/os_win32.h index b839359..15e6160 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() */