Skip to content

Commit 064154c

Browse files
committed
patch 7.4.1613
Problem: Still can't build with small features. Solution: Adjust #ifdefs.
1 parent d293b2b commit 064154c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/ex_getln.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5861,7 +5861,7 @@ remove_key_from_history(void)
58615861

58625862
#endif /* FEAT_CMDHIST */
58635863

5864-
#if defined(FEAT_EVAL) || defined(PROTO)
5864+
#if defined(FEAT_EVAL) || defined(FEAT_CMDWIN) || defined(PROTO)
58655865
/*
58665866
* Get pointer to the command line info to use. cmdline_paste() may clear
58675867
* ccline and put the previous value in prev_ccline.
@@ -5877,7 +5877,9 @@ get_ccline_ptr(void)
58775877
return &prev_ccline;
58785878
return NULL;
58795879
}
5880+
#endif
58805881

5882+
#if defined(FEAT_EVAL) || defined(PROTO)
58815883
/*
58825884
* Get the current command line in allocated memory.
58835885
* Only works when the command line is being edited.
@@ -5948,7 +5950,11 @@ get_cmdline_type(void)
59485950
if (p == NULL)
59495951
return NUL;
59505952
if (p->cmdfirstc == NUL)
5951-
return (p->input_fn) ? '@' : '-';
5953+
return
5954+
# ifdef FEAT_EVAL
5955+
(p->input_fn) ? '@' :
5956+
# endif
5957+
'-';
59525958
return p->cmdfirstc;
59535959
}
59545960
#endif

src/version.c

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

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1613,
751753
/**/
752754
1612,
753755
/**/

0 commit comments

Comments
 (0)