]> Savannah Git Hosting - gnulib.git/commitdiff
poll: Fix type of timeout pointer passed to select() on mingw x86_64.
authorHannes Müller <h.c.f.mueller@gmx.de>
Mon, 1 Jul 2019 14:59:45 +0000 (16:59 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 1 Jul 2019 23:47:54 +0000 (01:47 +0200)
* lib/poll.c: Call Windows native select() with Windows native timeval.

ChangeLog
lib/poll.c

index 8e94611dba46e745f9cacc1303850c9dc59384c8..f9b086664901a73a612f89614984ee69c283bd15 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-01  Hannes Müller  <h.c.f.mueller@gmx.de>
+
+       poll: Fix type of timeout pointer passed to select() on mingw x86_64.
+       * lib/poll.c: Call Windows native select() with Windows native timeval.
+
 2019-06-30  Bruno Haible  <bruno@clisp.org>
 
        argmatch: Fix compilation errors.
index 5d9150c13af22da83d6b83978b92df82cab9083c..2b590bd421261b22a280646321eeaa0145b1e2ae 100644 (file)
    of SOCKETs, not bit masks of FDs.  */
 # undef select
 
+/* Here we need timeval from Windows since this is what the select() function
+   from Windows requires.  */
+# undef timeval
+
 /* Avoid warnings from gcc -Wcast-function-type.  */
 # define GetProcAddress \
    (void *) GetProcAddress