]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1193 v7.4.1193
authorBram Moolenaar <Bram@vim.org>
Thu, 28 Jan 2016 22:01:49 +0000 (23:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 28 Jan 2016 22:01:49 +0000 (23:01 +0100)
Problem:    Can't build the channel feature on MS-Windows.
Solution:   Add #ifdef HAVE_POLL.

src/channel.c
src/version.c

index 952123c539a3dec3b6b84cd2b3eb3869bc023f8e..c18f25e2634721198c2374e9a058ad95e9f00be4 100644 (file)
@@ -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;
 }
index d9b9ebab993f9a521f499b6cc65aa67ca22cf74a..98c499a925a1aeb9cb386206b44d9ecd9dbb52d2 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1193,
 /**/
     1192,
 /**/