mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-10 06:23:01 +03:00
poll: Remove obsolete win_poll functions.
Thanks for the hint Milo ;)
This commit is contained in:
@@ -117,14 +117,6 @@ typedef int (WSAAPI* WSAPoll_FunctionType)(WSAPOLLFD fdarray[],
|
|||||||
|
|
||||||
static WSAPoll_FunctionType wsa_poll;
|
static WSAPoll_FunctionType wsa_poll;
|
||||||
|
|
||||||
int win_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) {
|
|
||||||
if (wsa_poll) {
|
|
||||||
return (wsa_poll)((WSAPOLLFD *) fds, nfds, timeout);
|
|
||||||
}
|
|
||||||
|
|
||||||
return SOCKET_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define WS2_LIBRARY "ws2_32.dll"
|
#define WS2_LIBRARY "ws2_32.dll"
|
||||||
static HINSTANCE hlib;
|
static HINSTANCE hlib;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user