poll: Use WSAPoll() on Windows.

This commit is contained in:
Andreas Schneider 2011-02-09 00:36:16 +01:00
parent d464b57fa5
commit 5a8a2a56af

View File

@ -269,8 +269,10 @@ void ssh_poll_init(void) {
}
#endif /* _WIN32 */
if (wsa_poll != NULL) {
if (wsa_poll == NULL) {
ssh_poll_emu = bsd_poll;
} else {
ssh_poll_emu = win_poll;
}
}