[vlc-commits] Correct Winsock error #define's

Rémi Denis-Courmont git at videolan.org
Tue Jul 30 17:07:33 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 30 17:59:50 2013 +0300| [a4e524f1a4a8091c75b98c331437d202968d12ff] | committer: Rémi Denis-Courmont

Correct Winsock error #define's

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4e524f1a4a8091c75b98c331437d202968d12ff
---

 src/network/tcp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/network/tcp.c b/src/network/tcp.c
index 8c294e7..78ab113 100644
--- a/src/network/tcp.c
+++ b/src/network/tcp.c
@@ -48,10 +48,10 @@
 #   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 */



More information about the vlc-commits mailing list