changeset 13394:d21899f0d850 v8.0.1571

patch 8.0.1571: can't build without GUI commit https://github.com/vim/vim/commit/40d77b0ec14a4999d8f0d52643a0ad289bf88dfa Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 5 21:32:27 2018 +0100 patch 8.0.1571: can't build without GUI Problem: Can't build without GUI. Solution: Adjust #ifdef for gui_find_menu().
author Christian Brabandt <cb@256bit.org>
date Mon, 05 Mar 2018 21:45:05 +0100
parents 8a4b16081b89
children 6ec87ec9acab
files src/menu.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/menu.c
+++ b/src/menu.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.
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1571,
+/**/
     1570,
 /**/
     1569,