Lawson wrote: > I notice that nearly all the defines in libssh2.h use the LIBSSH2_ > prefix, except for INVALID_SOCKET. It seems to be on purpose but I > don't understand why. Is it a Windows thing?
Yep. > My issue is that I'm writing an application (on Linux) which > includes headers from multiple libraries, and some of them also set > this symbol to a conflicting value. They can't work on Windows then. The fix is of course to use LIBSSH2_INVALID_SOCKET. Please send a git patch which does the change, including the neccessary autoconf goo. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel