From: Bram Moolenaar Date: Mon, 28 Aug 2017 21:00:55 +0000 (+0200) Subject: patch 8.0.1010: build failure without termresponse feature X-Git-Tag: v8.0.1010 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c37a8e66008aadfe428a32ecf46aab4b9e285ae;p=vim patch 8.0.1010: build failure without termresponse feature Problem: Build failure without termresponse feature. Solution: Add #ifdef. --- diff --git a/src/term.c b/src/term.c index fec50d583..fdae4ea08 100644 --- a/src/term.c +++ b/src/term.c @@ -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 } /* diff --git a/src/version.c b/src/version.c index 6631bd023..b9836b7be 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1010, /**/ 1009, /**/