diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-03 23:20:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-03 23:20:05 +0200 |
commit | d570ab95d9ab0616f7d7cff59302617e612eae41 (patch) | |
tree | 0224cb7320bbc2a2529de2d2f1cca2d95bf93947 /src/ui.c | |
parent | 19e8ac72e9c17b894a9c74cb8f70feb33567033c (diff) | |
download | vim-git-d570ab95d9ab0616f7d7cff59302617e612eae41.tar.gz |
patch 8.1.1971: manually enabling features causes build errorsv8.1.1971
Problem: Manually enabling features causes build errors. (John Marriott)
Solution: Adjust #ifdefs.
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |