1
0
forked from aniani/vim

patch 8.0.1571: can't build without GUI

Problem:    Can't build without GUI.
Solution:   Adjust #ifdef for gui_find_menu().
This commit is contained in:
Bram Moolenaar
2018-03-05 21:32:27 +01:00
parent 29a2c08d79
commit 40d77b0ec1
2 changed files with 3 additions and 0 deletions

View File

@@ -2462,6 +2462,7 @@ winbar_click(win_T *wp, int col)
} }
#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \ #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \
|| defined(FEAT_TERM_POPUP_MENU) \
|| defined(FEAT_BEVAL_TIP) || defined(PROTO) || defined(FEAT_BEVAL_TIP) || defined(PROTO)
/* /*
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy. * Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.

View File

@@ -766,6 +766,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1571,
/**/ /**/
1570, 1570,
/**/ /**/