1
0
forked from aniani/vim

patch 8.0.1785: missing symbol in Win32 small build

Problem:    Missing symbol in Win32 small build.
Solution:   Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
            fix unused function with #ifdef.
This commit is contained in:
Bram Moolenaar
2018-05-01 17:30:41 +02:00
parent bc7845da93
commit 8a938af6dd
3 changed files with 6 additions and 0 deletions

View File

@@ -6977,6 +6977,8 @@ static int grey_ramp[] = {
# ifdef FEAT_TERMINAL
# include "libvterm/include/vterm.h" // for VTERM_ANSI_INDEX_NONE
# else
# define VTERM_ANSI_INDEX_NONE 0
# endif
static uint8_t ansi_table[16][4] = {