summaryrefslogtreecommitdiffstats
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index d370ad49c6..1b2b3c5630 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -3208,7 +3208,11 @@ get_fpos_of_mouse(pos_T *mpos)
#endif
return IN_BUFFER;
}
+#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(PROTO)
/*
* Convert a virtual (screen) column to a character column.
* The first column is one.