mirror of
https://github.com/libssh2/libssh2.git
synced 2025-09-14 02:01:49 +03:00
INVALID_SOCKET is a special value in Windows representing a non-valid socket identifier. We were #defining this to -1 on non-Windows platforms, causing unneccessary namespace pollution. Let's have our own identifier instead. Thanks to Matt Lawson for pointing this out.