# HG changeset patch # User Christian Brabandt # Date 1507139105 -7200 # Node ID 573f8bdeb95af7494def478c24201117428927f6 # Parent 7e2bf37d7a4b8e15ec2a36a778e888c4e0ef6d85 patch 8.0.1175: build failure without +termresponse commit https://github.com/vim/vim/commit/c902609f69b5662484f78dbf509715940d4134e4 Author: Bram Moolenaar Date: Wed Oct 4 19:35:02 2017 +0200 patch 8.0.1175: build failure without +termresponse Problem: Build failure without +termresponse. Solution: Add #ifdef. diff --git a/src/syntax.c b/src/syntax.c --- a/src/syntax.c +++ b/src/syntax.c @@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, in else color = color_numbers_8[idx]; } +#ifdef FEAT_TERMRESPONSE if (t_colors >= 256 && color == 15 && is_mac_terminal) /* Terminal.app has a bug: 15 is light grey. Use white * from the color cube instead. */ color = 231; +#endif } return color; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1175, +/**/ 1174, /**/ 1173,