diff options
-rw-r--r-- | editors/vi.c | 5 |
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) | |||
750 | return err; | 750 | return err; |
751 | } | 751 | } |
752 | #else | 752 | #else |
753 | # define query_screen_dimensions() (0) | 753 | static ALWAYS_INLINE int query_screen_dimensions(void) |
754 | { | ||
755 | return 0; | ||
756 | } | ||
754 | #endif | 757 | #endif |
755 | 758 | ||
756 | static void edit_file(char *fn) | 759 | static void edit_file(char *fn) |