changeset 26968:014c9414ce02 v8.2.4013

patch 8.2.4013: build failure without the spell feature Commit: https://github.com/vim/vim/commit/e60b3c47d701e73ecbadb1b9a12bf82010cadae8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 5 20:40:34 2022 +0000 patch 8.2.4013: build failure without the spell feature Problem: Build failure without the spell feature. Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Jan 2022 21:45:03 +0100
parents 8fefa51f33c0
children 5ba260c9af95
files src/errors.h src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -1771,10 +1771,12 @@ EXTERN char e_character_in_fol_low_or_up
 	INIT(= N_("E762: Character in FOL, LOW or UPP is out of range"));
 EXTERN char e_word_characters_differ_between_spell_files[]
 	INIT(= N_("E763: Word characters differ between spell files"));
+#endif
 #if defined(FEAT_SYN_HL) || defined(FEAT_COMPL_FUNC)
 EXTERN char e_option_str_is_not_set[]
 	INIT(= N_("E764: Option '%s' is not set"));
 #endif
+#ifdef FEAT_SPELL
 EXTERN char e_spellfile_does_not_have_nr_entries[]
 	INIT(= N_("E765: 'spellfile' does not have %d entries"));
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4013,
+/**/
     4012,
 /**/
     4011,