]> git.sesse.net Git - vlc/commitdiff
Correct Winsock error #define's
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 30 Jul 2013 14:59:50 +0000 (17:59 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 30 Jul 2013 14:59:50 +0000 (17:59 +0300)
src/network/tcp.c

index 8c294e7cbcbadeebb618e60a94018d81fc960ff1..78ab1132607507aeb29be64d2e6476b0cea26814 100644 (file)
 #   define EINPROGRESS WSAEWOULDBLOCK
 #   undef EWOULDBLOCK
 #   define EWOULDBLOCK WSAEWOULDBLOCK
+#   undef EAGAIN
+#   define EAGAIN WSAEWOULDBLOCK
 #   undef EINTR
 #   define EINTR WSAEINTR
-#   undef ETIMEDOUT
-#   define ETIMEDOUT WSAETIMEDOUT
 #endif
 
 #include "libvlc.h" /* vlc_object_waitpipe */