mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.1559: build failure without GUI
Problem: Build failure without GUI. Solution: Adjust #ifdef for get_fpos_of_mouse().
This commit is contained in:
3
src/ui.c
3
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) \
|
#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \
|
||||||
|| defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
|
|| 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
|
* Translate window coordinates to buffer position without any side effects
|
||||||
*/
|
*/
|
||||||
|
@@ -778,6 +778,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1559,
|
||||||
/**/
|
/**/
|
||||||
1558,
|
1558,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user