Commit: patch 9.1.0031: Link Error on Windows

10 views
Skip to first unread message

Christian Brabandt

unread,
Jan 15, 2024, 5:00:08 PM1/15/24
to vim...@googlegroups.com
patch 9.1.0031: Link Error on Windows

Commit: https://github.com/vim/vim/commit/4afda3307dfa330fe7f7b19fc3c1e1de75f9b79a
Author: Christian Brabandt <c...@256bit.org>
Date: Mon Jan 15 22:51:22 2024 +0100

patch 9.1.0031: Link Error on Windows

Problem: Link Error on Windows
Solution: Add ifdef HAVE_TGETENT for term_strings_not_set()

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/term.c b/src/term.c
index 2e2c6df21..08afa0458 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2121,8 +2121,10 @@ set_termname(char_u *term)
&& term_strings_not_set(KS_8U))
apply_builtin_tcap(term, builtin_rgb, TRUE);
#endif
+#ifdef HAVE_TGETENT
if (term_strings_not_set(KS_CF))
apply_builtin_tcap(term, special_term, TRUE);
+#endif
}

/*
diff --git a/src/version.c b/src/version.c
index 8b19d814c..4daa6e571 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 31,
/**/
30,
/**/
Reply all
Reply to author
Forward
0 new messages