]> granicus.if.org Git - vim/commitdiff
patch 8.0.1559: build failure without GUI v8.0.1559
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Mar 2018 18:29:43 +0000 (19:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Mar 2018 18:29:43 +0000 (19:29 +0100)
Problem:    Build failure without GUI.
Solution:   Adjust #ifdef for get_fpos_of_mouse().

src/ui.c
src/version.c

index 5cccd4457def94a67ef34c8c7a0e4c9ca518e756..b758c4f1d00dd8e0a3f7c8ba7798fa8f2993dc0b 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -3199,7 +3199,8 @@ mouse_find_win(int *rowp, int *colp UNUSED)
 
 #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(PROTO)
+       || defined(FEAT_GUI_PHOTON) || defined(FEAT_TERM_POPUP_MENU) \
+       || defined(PROTO)
 /*
  * Translate window coordinates to buffer position without any side effects
  */
index f6972163c8e7d4f34409b885b40e62549e73b753..716b29b4d43f4028da527ff483adc907cb165a46 100644 (file)
@@ -778,6 +778,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1559,
 /**/
     1558,
 /**/