diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-30 20:20:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-30 20:20:56 +0000 |
commit | 3b8c7083b265c35861a7f96b01c079471ff45152 (patch) | |
tree | 71d5b80407f912d39de8532da6f6d817bc2e8d11 /src/proto.h | |
parent | 4c5678ff0c376661d4a8183a5a074a1203413b9d (diff) | |
download | vim-git-3b8c7083b265c35861a7f96b01c079471ff45152.tar.gz |
patch 9.0.0978: build errors without the +channel featurev9.0.0978
Problem: Build errors without the +channel feature. (John Marriott)
Solution: Adjust #ifdefs.
Diffstat (limited to 'src/proto.h')
-rw-r--r-- | src/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto.h b/src/proto.h index 4c7f8c9da..9d1e1349d 100644 --- a/src/proto.h +++ b/src/proto.h @@ -263,11 +263,12 @@ void mbyte_im_set_active(int active_arg); # ifdef FEAT_JOB_CHANNEL # include "job.pro" # include "channel.pro" +# endif +# ifdef FEAT_EVAL // Not generated automatically so that we can add an extra attribute. void ch_log(channel_T *ch, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); void ch_error(channel_T *ch, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); - # endif # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL) |