From b8b6511fc1f8422a17778d710ed11538174a7f33 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 28 Jan 2016 23:01:49 +0100 Subject: patch 7.4.1193 Problem: Can't build the channel feature on MS-Windows. Solution: Add #ifdef HAVE_POLL. --- src/channel.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/channel.c b/src/channel.c index 952123c53..c18f25e26 100644 --- a/src/channel.c +++ b/src/channel.c @@ -726,12 +726,14 @@ channel_wait(int fd, int timeout) break; } #else +# ifdef HAVE_POLL struct pollfd fds; fds.fd = fd; fds.events = POLLIN; if (poll(&fds, 1, timeout) <= 0) return FAIL; +# endif #endif return OK; } diff --git a/src/version.c b/src/version.c index d9b9ebab9..98c499a92 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1193, /**/ 1192, /**/ -- cgit v1.2.1