Skip to content

Commit 4d05040

Browse files
committed
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)
1 parent de33011 commit 4d05040

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/ex_getln.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ getcmdline(
212212
#endif
213213
expand_T xpc;
214214
long *b_im_ptr = NULL;
215-
#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) || defined(FEAT_SEARCH_EXTRA)
215+
#if defined(FEAT_WILDMENU) || defined(FEAT_EVAL) \
216+
|| defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CMDWIN)
216217
/* Everything that may work recursively should save and restore the
217218
* current command line in save_ccline. That includes update_screen(), a
218219
* custom status line may invoke ":normal". */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
161,
767769
/**/
768770
160,
769771
/**/

0 commit comments

Comments
 (0)