mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
Always use the poll-emulation on Windows.
Until we we have a solution to use WSAPoll only on Vista and newer.
This commit is contained in:
@@ -67,7 +67,8 @@ int ssh_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) {
|
|||||||
#else /* HAVE_POLL */
|
#else /* HAVE_POLL */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600)
|
#if 0
|
||||||
|
/* defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600) */
|
||||||
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user