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;
|
break;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
# ifdef HAVE_POLL
|
||||||
struct pollfd fds;
|
struct pollfd fds;
|
||||||
|
|
||||||
fds.fd = fd;
|
fds.fd = fd;
|
||||||
fds.events = POLLIN;
|
fds.events = POLLIN;
|
||||||
if (poll(&fds, 1, timeout) <= 0)
|
if (poll(&fds, 1, timeout) <= 0)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1193,
|
||||||
/**/
|
/**/
|
||||||
1192,
|
1192,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user