Permalink
Browse files

patch 8.0.1571: can't build without GUI

Problem:    Can't build without GUI.
Solution:   Adjust #ifdef for gui_find_menu().
  • Loading branch information...
brammool committed Mar 5, 2018
1 parent 29a2c08 commit 40d77b0ec14a4999d8f0d52643a0ad289bf88dfa
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/menu.c
  2. +2 −0 src/version.c
@@ -2462,6 +2462,7 @@ winbar_click(win_T *wp, int col)
}
#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \
|| defined(FEAT_TERM_POPUP_MENU) \
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
/*
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.
@@ -766,6 +766,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1571,
/**/
1570,
/**/

0 comments on commit 40d77b0

Please sign in to comment.