forked from aniani/vim
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:
@@ -1998,21 +1998,23 @@ EXTERN char *ch_part_names[]
|
||||
# endif
|
||||
;
|
||||
|
||||
EXTERN int did_repeated_msg INIT(= 0);
|
||||
# define REPEATED_MSG_LOOKING 1
|
||||
# define REPEATED_MSG_SAFESTATE 2
|
||||
// Whether a redraw is needed for appending a line to a buffer.
|
||||
EXTERN int channel_need_redraw INIT(= FALSE);
|
||||
|
||||
# define FOR_ALL_CHANNELS(ch) \
|
||||
for ((ch) = first_channel; (ch) != NULL; (ch) = (ch)->ch_next)
|
||||
# define FOR_ALL_JOBS(job) \
|
||||
for ((job) = first_job; (job) != NULL; (job) = (job)->jv_next)
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
// This flag is set when outputting a terminal control code and reset in
|
||||
// out_flush() when characters have been written.
|
||||
EXTERN int ch_log_output INIT(= FALSE);
|
||||
|
||||
// Whether a redraw is needed for appending a line to a buffer.
|
||||
EXTERN int channel_need_redraw INIT(= FALSE);
|
||||
|
||||
#define FOR_ALL_CHANNELS(ch) \
|
||||
for ((ch) = first_channel; (ch) != NULL; (ch) = (ch)->ch_next)
|
||||
#define FOR_ALL_JOBS(job) \
|
||||
for ((job) = first_job; (job) != NULL; (job) = (job)->jv_next)
|
||||
EXTERN int did_repeated_msg INIT(= 0);
|
||||
# define REPEATED_MSG_LOOKING 1
|
||||
# define REPEATED_MSG_SAFESTATE 2
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_DIFF)
|
||||
|
Reference in New Issue
Block a user