Mercurial > vim
comparison src/ui.c @ 18021:e273e489acdf v8.1.2006
patch 8.1.2006: build failure with huge features but without channel feature
Commit: https://github.com/vim/vim/commit/6cdce2a00369202b4d956884068f6631ee99aca4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 7 23:25:09 2019 +0200
patch 8.1.2006: build failure with huge features but without channel feature
Problem: Build failure with huge features but without channel feature.
Solution: Add #ifdef. (Dominique Pelle, closes https://github.com/vim/vim/issues/4906)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 Sep 2019 23:30:05 +0200 |
parents | bb0e25a8b5d7 |
children | 1868ec23360e |
comparison
equal
deleted
inserted
replaced
18020:1a1df6898465 | 18021:e273e489acdf |
---|---|
477 )) | 477 )) |
478 { | 478 { |
479 // There is a pending job or channel, should return soon in order | 479 // There is a pending job or channel, should return soon in order |
480 // to handle them ASAP. Do check for input briefly. | 480 // to handle them ASAP. Do check for input briefly. |
481 due_time = 10L; | 481 due_time = 10L; |
482 # ifdef FEAT_JOB_CHANNEL | |
482 brief_wait = TRUE; | 483 brief_wait = TRUE; |
484 # endif | |
483 } | 485 } |
484 # endif | 486 # endif |
485 if (wait_func(due_time, interrupted, ignore_input)) | 487 if (wait_func(due_time, interrupted, ignore_input)) |
486 return OK; | 488 return OK; |
487 if ((interrupted != NULL && *interrupted) | 489 if ((interrupted != NULL && *interrupted) |