# HG changeset patch # User Bram Moolenaar # Date 1590849003 -7200 # Node ID 0b55c9a14ea11f6e28525142ffa081c0a5790632 # Parent 126ad2c0855660b761caca1df0002315413a07a1 patch 8.2.0846: build failure with small features Commit: https://github.com/vim/vim/commit/d5c2c7763d73b91efd64a49da8221f9955debdd5 Author: Bram Moolenaar 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. diff --git a/src/undo.c b/src/undo.c --- 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. diff --git a/src/version.c b/src/version.c --- 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,