patch 8.2.5137: cannot build without the +channel feature
Problem: Cannot build without the +channel feature. (Dominique Pellé) Solution: Add #ifdef around ch_log() calls. (closes #10598)
This commit is contained in:
@ -4248,8 +4248,10 @@ nfa_did_time_out(void)
|
||||
{
|
||||
if (nfa_timed_out != NULL)
|
||||
{
|
||||
# ifdef FEAT_JOB_CHANNEL
|
||||
if (!*nfa_timed_out)
|
||||
ch_log(NULL, "NFA regexp timed out");
|
||||
# endif
|
||||
*nfa_timed_out = TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user