changeset 20585:0b55c9a14ea1 v8.2.0846

patch 8.2.0846: build failure with small features Commit: https://github.com/vim/vim/commit/d5c2c7763d73b91efd64a49da8221f9955debdd5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 16:17:33 2020 +0200 patch 8.2.0846: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 16:30:03 +0200
parents 126ad2c08556
children fed0050be1a1
files src/undo.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -375,6 +375,7 @@ u_save_line(undoline_T *ul, linenr_T lnu
     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 flag
     }
     return FALSE;
 }
+#endif
 
 /*
  * Common code for various ways to save text before a change.
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    846,
+/**/
     845,
 /**/
     844,