changeset 10542:5c0a28604bd0 v8.0.0161

patch 8.0.0161: can't build with small features commit https://github.com/vim/vim/commit/4d0504019cc744a5122821f187dd3adfe536afff Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 9 12:58:11 2017 +0100 patch 8.0.0161: can't build with small features Problem: Build fails when using small features. Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Mon, 09 Jan 2017 13:00:05 +0100
parents a7e05f5bbcea
children aafe5fa39341
files src/ex_getln.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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". */
--- 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,