# HG changeset patch # User Christian Brabandt # Date 1520282705 -3600 # Node ID d21899f0d850f8da0e8a93b1646ad3aba7334959 # Parent 8a4b16081b89b02aedefd57732f2ef06f5622197 patch 8.0.1571: can't build without GUI commit https://github.com/vim/vim/commit/40d77b0ec14a4999d8f0d52643a0ad289bf88dfa Author: Bram Moolenaar 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(). diff --git a/src/menu.c b/src/menu.c --- 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. diff --git a/src/version.c b/src/version.c --- 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,