summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-29 21:11:25 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-29 21:11:25 +0100
commitf12d983deab06b0408781d7a6c2f8970d765b723 (patch)
tree50d51bd7d02ffaebeba71a2faecb0380a4a04f84 /src/vim.h
parent83162468b3c8722fffea033d3de144cd4191472a (diff)
downloadvim-git-f12d983deab06b0408781d7a6c2f8970d765b723.tar.gz
patch 7.4.1195v7.4.1195
Problem: The channel feature does not work in the MS-Windows console. Solution: Add win32 console support. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index e7a5f5842..b8de4ae3e 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -530,6 +530,8 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
# ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
# define HAVE_POLL
+# elif defined(WIN32) && !defined(FEAT_GUI_W32)
+# define HAVE_SELECT
# else
# ifdef HAVE_POLL_H
# include <poll.h>