0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0978: build errors without the +channel feature

Problem:    Build errors without the +channel feature. (John Marriott)
Solution:   Adjust #ifdefs.
This commit is contained in:
Bram Moolenaar
2022-11-30 20:20:56 +00:00
parent 4c5678ff0c
commit 3b8c7083b2
6 changed files with 28 additions and 13 deletions

View File

@@ -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)