summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-09 12:58:11 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-09 12:58:11 +0100
commit4d0504019cc744a5122821f187dd3adfe536afff (patch)
tree0ff57be19ed8e4af667dadcd1a53a42085cdcb32
parentde33011ec623fd562419dede6bf465b5b9881a20 (diff)
patch 8.0.0161: can't build with small featuresv8.0.0161
Problem: Build fails when using small features. Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
-rw-r--r--src/ex_getln.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index cf99ae2a83..162e55590a 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -212,7 +212,8 @@ getcmdline(
#endif
expand_T xpc;
long *b_im_ptr = NULL;
-#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA)
+#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \
+ || defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN)
/* Everything that may work recursively should save and restore the
* current command line in save_ccline. That includes update_screen(), a
* custom status line may invoke ":normal". */
diff --git a/src/version.c b/src/version.c
index 641c72c40f..7f52cab802 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 161,
+/**/
160,
/**/
159,