summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-28 19:16:20 +0200
committerBram Moolenaar <Bram@vim.org>2016-03-28 19:16:20 +0200
commit8b877ac38e96424a08a8b8eb713ef4b3cf0064be (patch)
treec72ac7aa90e66ad1e6d6c82fb27ab7d74de3eea9 /src/vim.h
parentee1f7b3cb71684aaa9bf457e2caf9d02187e6b7c (diff)
downloadvim-git-8b877ac38e96424a08a8b8eb713ef4b3cf0064be.tar.gz
patch 7.4.1669v7.4.1669
Problem: When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vim.h b/src/vim.h
index a2dc07961..36cc19a27 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -493,13 +493,11 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
#ifndef HAVE_SELECT
# ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
-# define HAVE_POLL
# elif defined(WIN32)
# define HAVE_SELECT
# else
# ifdef HAVE_POLL_H
# include <poll.h>
-# define HAVE_POLL
# endif
# endif
#endif