commit | c902609f69b5662484f78dbf509715940d4134e4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Oct 04 19:35:02 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Oct 04 19:35:02 2017 +0200 |
tree | b4e3468b0eb4cdaa2d53291718bf199e48b4dc61 | |
parent | a0a6f2776eabfbd4d9174fabdf3921beb7348eda [diff] [blame] |
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 index d7c482d..8444db3 100644 --- a/src/syntax.c +++ b/src/syntax.c
@@ -7350,10 +7350,12 @@ 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; }