Windows: add missing definition of ENOTSOCK
commitfab60274800efba101b3f08a297639d14ecbf840
authorJohannes Sixt <j6t@kdbg.org>
Thu, 21 Jul 2016 20:59:06 +0000 (21 22:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Jul 2016 19:28:24 +0000 (22 12:28 -0700)
tree689e6da62e5c187c16e1c058f63c71d5a7225e50
parent49c58d86ceb7816c5f0ca36e38e26cd6b8506d74
Windows: add missing definition of ENOTSOCK

The previous commit introduced the first use of ENOTSOCK. This macro is
not available on Windows. Define it as WSAENOTSOCK because that is the
corresponding error value reported by the Windows versions of socket
functions.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.h