Skip to content

Commit

Permalink
patch 8.0.1559: build failure without GUI
Browse files Browse the repository at this point in the history
Problem:    Build failure without GUI.
Solution:   Adjust #ifdef for get_fpos_of_mouse().
  • Loading branch information
brammool committed Mar 3, 2018
1 parent aef8c3d commit 658a154
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui.c
Expand Up @@ -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
*/
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -778,6 +778,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1559,
/**/
1558,
/**/
Expand Down

0 comments on commit 658a154

Please sign in to comment.