From: Eric Wong Date: Fri, 22 Jul 2016 19:31:56 GMT Subject: Re: [PATCH ew/daemon-socket-keepalive] Windows: add missing definition of ENOTSOCK Message-ID: <20160722193156.GA30158@dcvr> In-Reply-To: <28dbe3b0-7a16-1b87-3d59-b8c981fead7c@kdbg.org> 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 already used ENOTSOCK but I was mislead by the #ifdefs :x