From d5c2c7763d73b91efd64a49da8221f9955debdd5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 May 2020 16:17:33 +0200 Subject: patch 8.2.0846: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef. --- src/undo.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/undo.c b/src/undo.c index 259de9ab2..c2fe81946 100644 --- a/src/undo.c +++ b/src/undo.c @@ -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. diff --git a/src/version.c b/src/version.c index 16dfa277d..0adfc2660 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 846, /**/ 845, /**/ -- cgit v1.2.1