forked from aniani/vim
patch 8.2.2947: build failure without the channel feature
Problem: Build failure without the channel feature. Solution: Add back #ifdef. (John Marriott)
This commit is contained in:
@@ -5059,6 +5059,7 @@ echo_string_core(
|
|||||||
|
|
||||||
case VAR_JOB:
|
case VAR_JOB:
|
||||||
case VAR_CHANNEL:
|
case VAR_CHANNEL:
|
||||||
|
#ifdef FEAT_JOB_CHANNEL
|
||||||
*tofree = NULL;
|
*tofree = NULL;
|
||||||
r = tv->v_type == VAR_JOB ? job_to_string_buf(tv, numbuf)
|
r = tv->v_type == VAR_JOB ? job_to_string_buf(tv, numbuf)
|
||||||
: channel_to_string_buf(tv, numbuf);
|
: channel_to_string_buf(tv, numbuf);
|
||||||
@@ -5067,6 +5068,7 @@ echo_string_core(
|
|||||||
*tofree = string_quote(r, FALSE);
|
*tofree = string_quote(r, FALSE);
|
||||||
r = *tofree;
|
r = *tofree;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VAR_INSTR:
|
case VAR_INSTR:
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2947,
|
||||||
/**/
|
/**/
|
||||||
2946,
|
2946,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user