Mercurial > vim
comparison src/regexp_bt.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 |
---|---|
3161 { | 3161 { |
3162 if (*timeout_flag) | 3162 if (*timeout_flag) |
3163 { | 3163 { |
3164 if (timed_out != NULL) | 3164 if (timed_out != NULL) |
3165 { | 3165 { |
3166 # ifdef FEAT_JOB_CHANNEL | |
3166 if (!*timed_out) | 3167 if (!*timed_out) |
3167 ch_log(NULL, "BT regexp timed out"); | 3168 ch_log(NULL, "BT regexp timed out"); |
3169 # endif | |
3168 *timed_out = TRUE; | 3170 *timed_out = TRUE; |
3169 } | 3171 } |
3170 return TRUE; | 3172 return TRUE; |
3171 } | 3173 } |
3172 return FALSE; | 3174 return FALSE; |