comparison src/regexp_nfa.c @ 29237:c7aa0c46acd5 v8.2.5137

patch 8.2.5137: cannot build without the +channel feature Commit: https://github.com/vim/vim/commit/509ce0383105d5b516ef2d489adb7c554d3c8f81 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 20 11:23:01 2022 +0100 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 https://github.com/vim/vim/issues/10598)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jun 2022 12:30:07 +0200
parents 0af5fe160e4e
children 057c26b5c33a
comparison
equal deleted inserted replaced
29236:0eef32b4ebbc 29237:c7aa0c46acd5
4246 { 4246 {
4247 if (*timeout_flag) 4247 if (*timeout_flag)
4248 { 4248 {
4249 if (nfa_timed_out != NULL) 4249 if (nfa_timed_out != NULL)
4250 { 4250 {
4251 # ifdef FEAT_JOB_CHANNEL
4251 if (!*nfa_timed_out) 4252 if (!*nfa_timed_out)
4252 ch_log(NULL, "NFA regexp timed out"); 4253 ch_log(NULL, "NFA regexp timed out");
4254 # endif
4253 *nfa_timed_out = TRUE; 4255 *nfa_timed_out = TRUE;
4254 } 4256 }
4255 return TRUE; 4257 return TRUE;
4256 } 4258 }
4257 return FALSE; 4259 return FALSE;