Skip to content

Commit b8b6511

Browse files
committed
patch 7.4.1193
Problem: Can't build the channel feature on MS-Windows. Solution: Add #ifdef HAVE_POLL.
1 parent fa06a51 commit b8b6511

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/channel.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,12 +726,14 @@ channel_wait(int fd, int timeout)
726726
break;
727727
}
728728
#else
729+
# ifdef HAVE_POLL
729730
struct pollfd fds;
730731

731732
fds.fd = fd;
732733
fds.events = POLLIN;
733734
if (poll(&fds, 1, timeout) <= 0)
734735
return FAIL;
736+
# endif
735737
#endif
736738
return OK;
737739
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ static char *(features[]) =
746746

747747
static int included_patches[] =
748748
{ /* Add new patch number below this line */
749+
/**/
750+
1193,
749751
/**/
750752
1192,
751753
/**/

0 commit comments

Comments
 (0)