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/gui_w32.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/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 3d8d6c778..04658d682 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -198,11 +198,17 @@ static BalloonEval *cur_beval = NULL; static UINT_PTR BevalTimerId = 0; static DWORD LastActivity = 0; + +/* cproto fails on missing include files */ +#ifndef PROTO + /* * excerpts from headers since this may not be presented * in the extremely old compilers */ -#include <pshpack1.h> +# include <pshpack1.h> + +#endif typedef struct _DllVersionInfo { @@ -213,7 +219,9 @@ typedef struct _DllVersionInfo DWORD dwPlatformID; } DLLVERSIONINFO; -#include <poppack.h> +#ifndef PROTO +# include <poppack.h> +#endif typedef struct tagTOOLINFOA_NEW { |