Thomas Guillem
3e0d833a3f
compat: poll: work around event loss on WIN32
...
Signed-off-by: Steve Lhomme <robux4@videolabs.io>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-02-22 11:59:01 +01:00
Hannes Domani
8b7059359c
compat: cancel association of network events before close
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-07-20 20:37:15 +03:00
Rémi Denis-Courmont
74337dd2f2
compat: reimplement and make poll() alertable on Windows
2015-05-17 14:49:43 +03:00
Rémi Denis-Courmont
80170ba796
fixups: add missing poll() event flags
2015-05-17 13:30:17 +03:00
KO Myung-Hun
5064767f8e
compat: poll: fix compilation
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-08-28 21:06:48 +02:00
Rémi Denis-Courmont
5ac516c9c7
poll: deal with invalid file descriptors more like specified
2014-08-17 16:29:41 +03:00
Rafaël Carré
6d53362001
Use _WIN32 rather than WIN32 (same for WIN64)
...
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
2013-06-05 16:06:10 +02:00
KO Myung-Hun
459a325085
Include 'sys/time.h' for 'struct timeval' on OS/2
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2012-01-27 23:36:28 +02:00
Rémi Denis-Courmont
80d860b676
Move poll() to compat/
2012-01-19 20:17:07 +02:00