From 66c0e70b806cd8afdc9da9ddae11945ddf29841a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 30 Apr 2017 20:46:32 +0200 Subject: [PATCH] patch 8.0.0594: build failure when windows feature is missing Problem: Build failure when windows feature is missing. Solution: Add #ifdef. --- src/screen.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/screen.c b/src/screen.c index 43490fb8f6..325d9ae297 100644 --- a/src/screen.c +++ b/src/screen.c @@ -275,7 +275,9 @@ redraw_buf_and_status_later(buf_T *buf, int type) if (wp->w_buffer == buf) { redraw_win_later(wp, type); +#ifdef FEAT_WINDOWS wp->w_redr_status = TRUE; +#endif } } } diff --git a/src/version.c b/src/version.c index 9e6eeac7a1..6e2620d259 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 594, /**/ 593, /**/