Mercurial > vim
diff src/gui_w16.c @ 3927:e6d8b44065bc v7.3.719
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
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 20 Nov 2012 16:53:39 +0100 |
parents | 2e4539dc2de7 |
children | 04736b4030ec |
line wrap: on
line diff
--- 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