mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
poll: Use WSAPoll() on Windows.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user