Skip to content

Commit 658a154

Browse files
committed
patch 8.0.1559: build failure without GUI
Problem: Build failure without GUI. Solution: Adjust #ifdef for get_fpos_of_mouse().
1 parent aef8c3d commit 658a154

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/ui.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3199,7 +3199,8 @@ mouse_find_win(int *rowp, int *colp UNUSED)
31993199

32003200
#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \
32013201
|| defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
3202-
|| defined(FEAT_GUI_PHOTON) || defined(PROTO)
3202+
|| defined(FEAT_GUI_PHOTON) || defined(FEAT_TERM_POPUP_MENU) \
3203+
|| defined(PROTO)
32033204
/*
32043205
* Translate window coordinates to buffer position without any side effects
32053206
*/

‎src/version.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ static char *(features[]) =
778778

779779
static int included_patches[] =
780780
{ /* Add new patch number below this line */
781+
/**/
782+
1559,
781783
/**/
782784
1558,
783785
/**/

0 commit comments

Comments
 (0)