diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-22 23:22:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-22 23:22:22 +0000 |
commit | 66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8 (patch) | |
tree | 694bb4e0de4e1f9b6c9eb7a59498c785acd9022c /src/os_win32.h | |
parent | 0ac9379acfad03dd478bd4b0e1e1b3c267dbdeba (diff) | |
download | vim-git-66fa271a25f5d7e7be7425ef97b22cf11ee1b0b8.tar.gz |
updated for version 7.0185
Diffstat (limited to 'src/os_win32.h')
-rw-r--r-- | src/os_win32.h | 6 |
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() */ |