Commit: patch 9.1.1032: link error when FEAT_SPELL not defined

2 views
Skip to first unread message

Christian Brabandt

unread,
Jan 18, 2025, 4:45:12 AM1/18/25
to vim...@googlegroups.com
patch 9.1.1032: link error when FEAT_SPELL not defined

Commit: https://github.com/vim/vim/commit/b77c5984877c9de816ea6db8865eb3df7bb14b51
Author: Yegappan Lakshmanan <yega...@yahoo.com>
Date: Sat Jan 18 10:35:57 2025 +0100

patch 9.1.1032: link error when FEAT_SPELL not defined

Problem: link error when FEAT_SPELL not defined
(after v9.1.1016, John Marriott)
Solution: adjust ifdefs (Yegappan Lakshmanan)

closes: #16468

Signed-off-by: Yegappan Lakshmanan <yega...@yahoo.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/mbyte.c b/src/mbyte.c
index 157018266..a38ab24f3 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -4355,7 +4355,7 @@ theend:
convert_setup(&vimconv, NULL, NULL);
}

-#if defined(FEAT_GUI_GTK) || defined(FEAT_SPELL) || defined(PROTO)
+#if defined(FEAT_GUI_GTK) || defined(FEAT_SPELL) || defined(FEAT_EVAL) || defined(PROTO)
/*
* Return TRUE if string "s" is a valid utf-8 string.
* When "end" is NULL stop at the first NUL. Otherwise stop at "end".
diff --git a/src/version.c b/src/version.c
index d273ce725..4006ffb09 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 */
+/**/
+ 1032,
/**/
1031,
/**/
Reply all
Reply to author
Forward
0 new messages