Permalink
Browse files

patch 8.1.0006: syn_id2cterm_bg() may be undefined

Problem:    syn_id2cterm_bg() may be undefined. (Axel Bender)
Solution:   Adjust #ifdef.
  • Loading branch information...
brammool committed May 20, 2018
1 parent d19b234 commit a772baf85afac44bb8eb20ff808637ee6eedec54
Showing with 5 additions and 1 deletion.
  1. +3 −1 src/syntax.c
  2. +2 −0 src/version.c
@@ -9854,7 +9854,9 @@ syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp)
}
#endif
#if defined(FEAT_TERMINAL) || defined(PROTO)
#if (defined(WIN3264) \
&& !defined(FEAT_GUI_W32) \
&& defined(FEAT_TERMGUICOLORS)) || defined(PROTO)
void
syn_id2cterm_bg(int hl_id, int *fgp, int *bgp)
{
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
6,
/**/
5,
/**/

0 comments on commit a772baf

Please sign in to comment.