Alexander Lamaison wrote:
> > The fix is of course to use LIBSSH2_INVALID_SOCKET. Please send a
> > git patch which does the change, including the neccessary autoconf
> > goo.
>
> This wouldn't need autoconf to get involved. Just
> #ifdef WIN32
> const int LIBSSH2_INVALID_SOCKET = INVALID_SOCKET;
> #else
> const unsigned int LIBSSH2_INVALID_SOCKET = -1;
> #endif
>
> ... or something of that ilk.
Yep. Actually this was already done in libssh2.h so I just pushed a
commit to fix up the name.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-02