Mercurial > vim
comparison src/vim.h @ 8761:f8707ec9efe4 v7.4.1669
commit https://github.com/vim/vim/commit/8b877ac38e96424a08a8b8eb713ef4b3cf0064be
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 19:16:20 2016 +0200
patch 7.4.1669
Problem: When writing buffer lines to a pipe Vim may block.
Solution: Avoid blocking, write more lines later.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Mar 2016 19:30:05 +0200 |
parents | e770986c855a |
children | ed0b39dd7fd6 |
comparison
equal
deleted
inserted
replaced
8760:e43830c12eb2 | 8761:f8707ec9efe4 |
---|---|
491 #endif | 491 #endif |
492 | 492 |
493 #ifndef HAVE_SELECT | 493 #ifndef HAVE_SELECT |
494 # ifdef HAVE_SYS_POLL_H | 494 # ifdef HAVE_SYS_POLL_H |
495 # include <sys/poll.h> | 495 # include <sys/poll.h> |
496 # define HAVE_POLL | |
497 # elif defined(WIN32) | 496 # elif defined(WIN32) |
498 # define HAVE_SELECT | 497 # define HAVE_SELECT |
499 # else | 498 # else |
500 # ifdef HAVE_POLL_H | 499 # ifdef HAVE_POLL_H |
501 # include <poll.h> | 500 # include <poll.h> |
502 # define HAVE_POLL | |
503 # endif | 501 # endif |
504 # endif | 502 # endif |
505 #endif | 503 #endif |
506 | 504 |
507 /* ================ end of the header file puzzle =============== */ | 505 /* ================ end of the header file puzzle =============== */ |