On 2 March 2012 16:26, Peter Stuge <pe...@stuge.se> 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. Alex _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel