]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0846: build failure with small features v8.2.0846
authorBram Moolenaar <Bram@vim.org>
Sat, 30 May 2020 14:17:33 +0000 (16:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 30 May 2020 14:17:33 +0000 (16:17 +0200)
Problem:    Build failure with small features.
Solution:   Add #ifdef.

src/undo.c
src/version.c

index 259de9ab2dcf290f3a43c7b79126c1941d488d75..c2fe819460ba7d3863501a703e504693e07c7a24 100644 (file)
@@ -375,6 +375,7 @@ u_save_line(undoline_T *ul, linenr_T lnum)
     return ul->ul_line == NULL ? FAIL : OK;
 }
 
+#ifdef FEAT_PROP_POPUP
 /*
  * return TRUE if line "lnum" has text property "flags".
  */
@@ -395,6 +396,7 @@ has_prop_w_flags(linenr_T lnum, int flags)
     }
     return FALSE;
 }
+#endif
 
 /*
  * Common code for various ways to save text before a change.
index 16dfa277dd388c15f6b4e563ed9be99057080de0..0adfc266061e8a1e8743d46b5a68dd0132e99b77 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    846,
 /**/
     845,
 /**/