mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -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:
@@ -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;
|
||||
}
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1193,
|
||||
/**/
|
||||
1192,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user