poll: Use WSAPoll() on Windows.
This commit is contained in:
parent
d464b57fa5
commit
5a8a2a56af
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user