Commit fe91f01c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32 compile fix

(cherry picked from commit f2d57a37)
parent 0625bc13
...@@ -1436,12 +1436,11 @@ static void* ThreadSend( vlc_object_t *p_this ) ...@@ -1436,12 +1436,11 @@ static void* ThreadSend( vlc_object_t *p_this )
#ifdef WIN32 #ifdef WIN32
# define ECONNREFUSED WSAECONNREFUSED # define ECONNREFUSED WSAECONNREFUSED
# define ENOPROTOOPT WSAENOPROTOOPT # define ENOPROTOOPT WSAENOPROTOOPT
# define EPROTO WSAEPROTO
# define EHOSTUNREACH WSAEHOSTUNREACH # define EHOSTUNREACH WSAEHOSTUNREACH
# define ENETUNREACH WSAEHOSTUNREACH # define ENETUNREACH WSAENETUNREACH
# define ENETDOWN WSAENETDOWN # define ENETDOWN WSAENETDOWN
# define ENOBUFS WSAENOBUFS # define ENOBUFS WSAENOBUFS
# define EAGAIN WSAEGAIN # define EAGAIN WSAEWOULDBLOCK
# define EWOULDBLOCK WSAEWOULDBLOCK # define EWOULDBLOCK WSAEWOULDBLOCK
#endif #endif
sout_stream_id_t *id = (sout_stream_id_t *)p_this; sout_stream_id_t *id = (sout_stream_id_t *)p_this;
...@@ -1491,7 +1490,9 @@ static void* ThreadSend( vlc_object_t *p_this ) ...@@ -1491,7 +1490,9 @@ static void* ThreadSend( vlc_object_t *p_this )
/* Soft errors (e.g. ICMP): */ /* Soft errors (e.g. ICMP): */
case ECONNREFUSED: /* Port unreachable */ case ECONNREFUSED: /* Port unreachable */
case ENOPROTOOPT: case ENOPROTOOPT:
#ifdef EPROTO
case EPROTO: /* Protocol unreachable */ case EPROTO: /* Protocol unreachable */
#endif
case EHOSTUNREACH: /* Host unreachable */ case EHOSTUNREACH: /* Host unreachable */
case ENETUNREACH: /* Network unreachable */ case ENETUNREACH: /* Network unreachable */
case ENETDOWN: /* Entire network down */ case ENETDOWN: /* Entire network down */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment