- Bug #1862727 fixed libssh2_poll() to work on windows (by defining HAVE_SELECT).
This commit is contained in:
parent
61fda23340
commit
818e9edfb1
2
NEWS
2
NEWS
@ -1,6 +1,8 @@
|
|||||||
Version 0.19 ( )
|
Version 0.19 ( )
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
- Bug #1862727 fixed libssh2_poll() to work on windows (by defining HAVE_SELECT).
|
||||||
|
|
||||||
- Based on bug #1815692, we introduce libssh2_sftp_seek2() that allows seeking
|
- Based on bug #1815692, we introduce libssh2_sftp_seek2() that allows seeking
|
||||||
beyond the 2GB margin even on 32bit machines.
|
beyond the 2GB margin even on 32bit machines.
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
#ifdef HAVE_POLL
|
#ifdef HAVE_POLL
|
||||||
# include <sys/poll.h>
|
# include <sys/poll.h>
|
||||||
#else
|
#else
|
||||||
# ifdef HAVE_SELECT
|
# if defined(HAVE_SELECT) && !defined(WIN32)
|
||||||
# ifdef HAVE_SYS_SELECT_H
|
# ifdef HAVE_SYS_SELECT_H
|
||||||
# include <sys/select.h>
|
# include <sys/select.h>
|
||||||
# else
|
# else
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#define HAVE_WINSOCK2_H
|
#define HAVE_WINSOCK2_H
|
||||||
#define HAVE_IOCTLSOCKET
|
#define HAVE_IOCTLSOCKET
|
||||||
|
#define HAVE_SELECT
|
||||||
|
|
||||||
/* same as WSABUF */
|
/* same as WSABUF */
|
||||||
struct iovec {
|
struct iovec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user