1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-08 19:02:07 +03:00

Netware and Windows fixes by Guenter Knauf

This commit is contained in:
Daniel Stenberg
2007-02-07 21:21:06 +00:00
parent b88eb6a096
commit e7181a8c36
13 changed files with 1689 additions and 5 deletions

View File

@@ -5,6 +5,11 @@
#include <mswsock.h>
#include <ws2tcpip.h>
#ifdef __MINGW32__
#define ENOTCONN WSAENOTCONN
#define WINSOCK_VERSION MAKEWORD(2,0)
#endif
/* same as WSABUF */
struct iovec {
u_long iov_len;
@@ -36,3 +41,4 @@ static inline int usleep(int udelay)
/* Enable newer diffie-hellman-group-exchange-sha1 syntax */
#define LIBSSH2_DH_GEX_NEW 1