Fix proposed by Daniel P. Berrange <berrange@redhat.com>.
* lib/poll.c [WINDOWS_NATIVE]: Undefine select.
+2017-05-11 Bruno Haible <bruno@clisp.org>
+
+ poll: Fix confusion between SOCKETs and FDs on native Windows.
+ Fix proposed by Daniel P. Berrange <berrange@redhat.com>.
+ * lib/poll.c [WINDOWS_NATIVE]: Undefine select.
+
2017-05-11 Bruno Haible <bruno@clisp.org>
doc: Clarify doc about socket functions on native Windows.
first argument, not any possible gnulib override. */
# undef recv
+/* Here we need the select() function from Windows, because we pass bit masks
+ of SOCKETs, not bit masks of FDs. */
+# undef select
+
static BOOL IsConsoleHandle (HANDLE h)
{
DWORD mode;