summaryrefslogtreecommitdiffstats
path: root/src/gui_w16.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_w16.c
parent0ac24e1ef4b099c95c55261bc2d227ca5707d295 (diff)
updated for version 7.3.719v7.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_w16.c')
-rw-r--r--src/gui_w16.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui_w16.c b/src/gui_w16.c
index aa287d9d7c..ffb6b89df0 100644
--- a/src/gui_w16.c
+++ b/src/gui_w16.c
@@ -1521,7 +1521,12 @@ get_dialog_font_metrics(void)
#if defined(FEAT_TOOLBAR) || defined(PROTO)
-#include "gui_w3~1.h"
+
+/* cproto fails on missing include files */
+#ifndef PROTO
+# include "gui_w3~1.h"
+#endif
+
/*
* Create the toolbar, initially unpopulated.
* (just like the menu, there are no defaults, it's all