mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 10:26:47 +09:00
poll: Use WSAPoll() on Windows.
This commit is contained in:
@@ -269,8 +269,10 @@ void ssh_poll_init(void) {
|
|||||||
}
|
}
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
if (wsa_poll != NULL) {
|
if (wsa_poll == NULL) {
|
||||||
ssh_poll_emu = bsd_poll;
|
ssh_poll_emu = bsd_poll;
|
||||||
|
} else {
|
||||||
|
ssh_poll_emu = win_poll;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user