Re: [PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK

2016-07-23 Thread Johannes Schindelin
Hi Junio, On Fri, 22 Jul 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > On Thu, 21 Jul 2016, Johannes Sixt wrote: > > > >> The previous commit introduced the first use of ENOTSOCK. This macro is > >> not available on Windows. Define it as WSAENOTSOCK because that is the > >> co

Re: [PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK

2016-07-22 Thread Eric Wong
Johannes Sixt wrote: > 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. Thanks. I thought compat/poll/poll.c alread

Re: [PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK

2016-07-22 Thread Junio C Hamano
Johannes Schindelin writes: > Hi Hannes, > > On Thu, 21 Jul 2016, Johannes Sixt wrote: > >> 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 versio

Re: [PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK

2016-07-22 Thread Johannes Schindelin
Hi Hannes, On Thu, 21 Jul 2016, Johannes Sixt wrote: > 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. Thanks for c

[PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK

2016-07-21 Thread Johannes Sixt
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 --- compat/mingw.h | 3 +++ 1 file changed,