]> granicus.if.org Git - vim/commitdiff
patch 8.0.1560: build failure without GUI on MS-Windows v8.0.1560
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Mar 2018 18:51:58 +0000 (19:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Mar 2018 18:51:58 +0000 (19:51 +0100)
Problem:    Build failure without GUI on MS-Windows.
Solution:   Adjust #ifdef for vcol2col().

src/ui.c
src/version.c

index b758c4f1d00dd8e0a3f7c8ba7798fa8f2993dc0b..f89c14525b28f68d7fe46e7addcd94665de8cbdb 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -3246,7 +3246,8 @@ get_fpos_of_mouse(pos_T *mpos)
 
 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \
        || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
-       || defined(FEAT_GUI_PHOTON) || defined(FEAT_BEVAL) || defined(PROTO)
+       || defined(FEAT_GUI_PHOTON) || defined(FEAT_BEVAL) \
+       || defined(FEAT_TERM_POPUP_MENU) || defined(PROTO)
 /*
  * Convert a virtual (screen) column to a character column.
  * The first column is one.
index 716b29b4d43f4028da527ff483adc907cb165a46..f8777dcfdfd5a8e073892b06d720c0792c54bed1 100644 (file)
@@ -778,6 +778,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1560,
 /**/
     1559,
 /**/