aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index cdfb27cc5..61e988ce9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -750,7 +750,10 @@ static int query_screen_dimensions(void)
return err;
}
#else
-# define query_screen_dimensions() (0)
+static ALWAYS_INLINE int query_screen_dimensions(void)
+{
+ return 0;
+}
#endif
static void edit_file(char *fn)