Skip to content

Commit c902609

Browse files
committed
patch 8.0.1175: build failure without +termresponse
Problem: Build failure without +termresponse. Solution: Add #ifdef.
1 parent a0a6f27 commit c902609

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/syntax.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, int *boldp)
73507350
else
73517351
color = color_numbers_8[idx];
73527352
}
7353+
#ifdef FEAT_TERMRESPONSE
73537354
if (t_colors >= 256 && color == 15 && is_mac_terminal)
73547355
/* Terminal.app has a bug: 15 is light grey. Use white
73557356
* from the color cube instead. */
73567357
color = 231;
7358+
#endif
73577359
}
73587360
return color;
73597361
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1175,
764766
/**/
765767
1174,
766768
/**/

0 commit comments

Comments
 (0)