0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1971: manually enabling features causes build errors

Problem:    Manually enabling features causes build errors. (John Marriott)
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar
2019-09-03 23:20:05 +02:00
parent 19e8ac72e9
commit d570ab95d9
6 changed files with 28 additions and 37 deletions

View File

@@ -3637,6 +3637,8 @@ mouse_find_win(int *rowp, int *colp, mouse_find_T popup UNUSED)
|| defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_PHOTON) || defined(FEAT_TERM_POPUP_MENU) \
|| defined(PROTO)
# define NEED_VCOL2COL
/*
* Translate window coordinates to buffer position without any side effects
*/
@@ -3678,10 +3680,8 @@ get_fpos_of_mouse(pos_T *mpos)
}
#endif
#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(FEAT_TERM_POPUP_MENU) || defined(PROTO)
#if defined(NEED_VCOL2COL) || defined(FEAT_BEVAL) || defined(FEAT_TEXT_PROP) \
|| defined(PROTO)
/*
* Convert a virtual (screen) column to a character column.
* The first column is one.