0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.1193

Problem:    Can't build the channel feature on MS-Windows.
Solution:   Add #ifdef HAVE_POLL.
This commit is contained in:
Bram Moolenaar
2016-01-28 23:01:49 +01:00
parent fa06a517b5
commit b8b6511fc1
2 changed files with 4 additions and 0 deletions

View 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;
}

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1193,
/**/
1192,
/**/