]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1032: link error when FEAT_SPELL not defined v9.1.1032
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 18 Jan 2025 09:35:57 +0000 (10:35 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 18 Jan 2025 09:35:57 +0000 (10:35 +0100)
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 <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/mbyte.c
src/version.c

index 157018266676c7d5d6ab14f1f4b196020afe7545..a38ab24f32613e9f52d1a56190e5061a7a154f46 100644 (file)
@@ -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".
index d273ce725182d13c38b17e63d309a3549ed02455..4006ffb097be27fc34e3d40b00c71eb18203fd2b 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1032,
 /**/
     1031,
 /**/