summaryrefslogtreecommitdiff
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
committerBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
commit82881498663eb692e90dcfb9da0a7f573f228e35 (patch)
treebf2ffc25d638538bd870377c87d07709c0fcae6f /src/gui_w32.c
parent0ac24e1ef4b099c95c55261bc2d227ca5707d295 (diff)
downloadvim-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.c12
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
{