commit | 509ce0383105d5b516ef2d489adb7c554d3c8f81 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jun 20 11:23:01 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jun 20 11:23:01 2022 +0100 |
tree | 94a50d253d6b88ec24322862827e75065b682216 | |
parent | d799daa660b8821943cbe1682f00da9e812dd48c [diff] [blame] |
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)
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 40e7448..dd5f8ed 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c
@@ -4248,8 +4248,10 @@ { 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;