diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-06 23:29:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-06 23:29:24 +0000 |
commit | 362e1a30c6f3527d5d0efc328c2fb448290cd6fc (patch) | |
tree | 91c408352947bec09aee2032949ef1acef606d15 /src/dosinst.h | |
parent | 768b8c4dbcb3cdaccab87daa833ab176a438cc3c (diff) | |
download | vim-362e1a30c6f3527d5d0efc328c2fb448290cd6fc.zip |
updated for version 7.0216
Diffstat (limited to 'src/dosinst.h')
-rw-r--r-- | src/dosinst.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dosinst.h b/src/dosinst.h index 5ff4d67a0..7b53e5008 100644 --- a/src/dosinst.h +++ b/src/dosinst.h @@ -9,6 +9,13 @@ /* * dosinst.h: Common code for dosinst.c and uninstal.c */ + +/* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */ +#if _MSC_VER >= 1400 +# define _CRT_SECURE_NO_DEPRECATE +# define _CRT_NONSTDC_NO_DEPRECATE +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -16,7 +23,7 @@ #include <fcntl.h> #ifndef UNIX_LINT -# include <io.h> +# include "vimio.h" # include <ctype.h> # ifndef __CYGWIN__ |