commit | f4f190d8219fc93c6e58e54ce7c1ac15af07840f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 01 13:01:16 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 01 13:01:16 2020 +0100 |
tree | eaaa9de2a1c3df85d5dce07ef21f9ef7954c4cac | |
parent | b54b8e0c86b0590394803157818c72412a6f0b6a [diff] [blame] |
patch 8.2.0338: build failure without the channel feature Problem: Build failure without the channel feature. Solution: Add #ifdef
diff --git a/src/vim9compile.c b/src/vim9compile.c index a4525ca..2e0c2ff 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -5227,11 +5227,15 @@ break; case ISN_PUSHJOB: +#ifdef FEAT_JOB_CHANNEL job_unref(isn->isn_arg.job); +#endif break; case ISN_PUSHCHANNEL: +#ifdef FEAT_JOB_CHANNEL channel_unref(isn->isn_arg.channel); +#endif break; case ISN_UCALL: