diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-11-09 20:13:27 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-11-09 20:13:27 +0100 |
commit | d821117033278c1304cd2baef0ad50fa4a2e2629 (patch) | |
tree | df0af99798fcda199f9c6883e44a9c189ddcb986 | |
parent | 30266f76273ce99f0d8be688f8d51e2f40d2598a (diff) | |
download | libssh-d821117033278c1304cd2baef0ad50fa4a2e2629.tar.gz libssh-d821117033278c1304cd2baef0ad50fa4a2e2629.tar.xz libssh-d821117033278c1304cd2baef0ad50fa4a2e2629.zip |
Always use the poll-emulation on Windows.
Until we we have a solution to use WSAPoll only on Vista and newer.
-rw-r--r-- | libssh/poll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/poll.c b/libssh/poll.c index c8944afe..4a84cbe3 100644 --- a/libssh/poll.c +++ b/libssh/poll.c @@ -67,7 +67,8 @@ int ssh_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) { #else /* HAVE_POLL */ #ifdef _WIN32 -#if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600) +#if 0 +/* defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600) */ #include <winsock2.h> |