diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-11-20 16:53:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-11-20 16:53:39 +0100 |
commit | 82881498663eb692e90dcfb9da0a7f573f228e35 (patch) | |
tree | bf2ffc25d638538bd870377c87d07709c0fcae6f /src/os_win16.c | |
parent | 0ac24e1ef4b099c95c55261bc2d227ca5707d295 (diff) | |
download | vim-82881498663eb692e90dcfb9da0a7f573f228e35.zip |
updated for version 7.3.719
Problem: Cannot run new version of cproto, it fails on missing include
files.
Solution: Add lots of #ifndef PROTO
Diffstat (limited to 'src/os_win16.c')
-rw-r--r-- | src/os_win16.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/os_win16.c b/src/os_win16.c index b620149e7..49e6e300b 100644 --- a/src/os_win16.c +++ b/src/os_win16.c @@ -22,16 +22,23 @@ #include "vim.h" -#include <dos.h> +/* cproto fails on missing include files */ +#ifndef PROTO +# include <dos.h> +#endif + #include <string.h> #include <sys/types.h> #include <signal.h> #include <limits.h> -#include <process.h> -#undef chdir -#include <direct.h> -#include <shellapi.h> /* required for FindExecutable() */ +#ifndef PROTO +# include <process.h> + +# undef chdir +# include <direct.h> +# include <shellapi.h> /* required for FindExecutable() */ +#endif /* Record all output and all keyboard & mouse input */ |