summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-20 13:35:44 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-20 13:35:44 +0200
commita772baf85afac44bb8eb20ff808637ee6eedec54 (patch)
tree5d6bfa5f614f5c9fd54ae25d998dc01cd58f27fc /src/syntax.c
parentd19b234154476401a6ad8e690f9705419095f44e (diff)
downloadvim-git-a772baf85afac44bb8eb20ff808637ee6eedec54.tar.gz
patch 8.1.0006: syn_id2cterm_bg() may be undefinedv8.1.0006
Problem: syn_id2cterm_bg() may be undefined. (Axel Bender) Solution: Adjust #ifdef.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index bb695b573..5feaac6f5 100644
--- a/src/syntax.c
+++ b/src/syntax.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)
{