]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0031: Link Error on Windows v9.1.0031
authorChristian Brabandt <cb@256bit.org>
Mon, 15 Jan 2024 21:51:22 +0000 (22:51 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 15 Jan 2024 21:52:49 +0000 (22:52 +0100)
Problem:  Link Error on Windows
Solution: Add ifdef HAVE_TGETENT for term_strings_not_set()

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/term.c
src/version.c

index 2e2c6df21c720b322f73f504c7d3ecb1a083bbef..08afa0458771fda61f4680c6ddc6d154297deee0 100644 (file)
@@ -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
     }
 
 /*
index 8b19d814ccc3d396889702fb831fe8a763d4128a..4daa6e5715e43585d8cdf0ccf9316584a25ba97a 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    31,
 /**/
     30,
 /**/