changeset 11420:d1b6cf96882a v8.0.0594

patch 8.0.0594: build failure when windows feature is missing commit https://github.com/vim/vim/commit/66c0e70b806cd8afdc9da9ddae11945ddf29841a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 30 20:46:32 2017 +0200 patch 8.0.0594: build failure when windows feature is missing Problem: Build failure when windows feature is missing. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Apr 2017 21:00:04 +0200
parents fb4f0fc43631
children 709b5eb4cf26
files src/screen.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -275,7 +275,9 @@ redraw_buf_and_status_later(buf_T *buf, 
 	if (wp->w_buffer == buf)
 	{
 	    redraw_win_later(wp, type);
+#ifdef FEAT_WINDOWS
 	    wp->w_redr_status = TRUE;
+#endif
 	}
     }
 }
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    594,
+/**/
     593,
 /**/
     592,