]> granicus.if.org Git - vim/commitdiff
patch 8.0.1010: build failure without termresponse feature v8.0.1010
authorBram Moolenaar <Bram@vim.org>
Mon, 28 Aug 2017 21:00:55 +0000 (23:00 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 28 Aug 2017 21:00:55 +0000 (23:00 +0200)
Problem:    Build failure without termresponse feature.
Solution:   Add #ifdef.

src/term.c
src/version.c

index fec50d583a2ca6cebad9797b9706de3365bde99a..fdae4ea081451f85f71209c4ada9ba63c83c7f2b 100644 (file)
@@ -3780,8 +3780,12 @@ term_cursor_color(char_u *color)
     int
 blink_state_is_inverted()
 {
+#ifdef FEAT_TERMRESPONSE
     return rbm_status == STATUS_GOT && rcs_status == STATUS_GOT
                && initial_cursor_blink != initial_cursor_shape_blink;
+#else
+    return FALSE;
+#endif
 }
 
 /*
index 6631bd02323a697f6ee665d3161d228e3b80a83f..b9836b7beb73ea91ee26fcbb91d169d64b35a0d0 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1010,
 /**/
     1009,
 /**/