Mercurial > vim
diff src/dosinst.h @ 714:0f9f4761ad9c v7.0216
updated for version 7.0216
author | vimboss |
---|---|
date | Mon, 06 Mar 2006 23:29:24 +0000 |
parents | 3fc0f57ecb91 |
children | d20041a02ee5 |
line wrap: on
line diff
--- 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__