vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun May 27 23:00:41 2012 +0300| [6566845c49a02bfffc54974d5890428af06d34ff] | committer: Rémi Denis-Courmont
Win32: fix warning (WSAENETUNREACH is used instead of ENETUNREACH in the code anyway.) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6566845c49a02bfffc54974d5890428af06d34ff --- include/vlc_network.h | 1 - modules/stream_out/rtp.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/vlc_network.h b/include/vlc_network.h index 8a8a38d..5a4764f 100644 --- a/include/vlc_network.h +++ b/include/vlc_network.h @@ -39,7 +39,6 @@ # endif # include <winsock2.h> # include <ws2tcpip.h> -# define ENETUNREACH WSAENETUNREACH # define net_errno (WSAGetLastError()) extern const char *net_strerror( int val ); diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c index db3d69f..cd8c01b 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -1404,11 +1404,6 @@ static int HttpCallback( httpd_file_sys_t *p_args, static void* ThreadSend( void *data ) { #ifdef WIN32 -# define ECONNREFUSED WSAECONNREFUSED -# define ENOPROTOOPT WSAENOPROTOOPT -# define EHOSTUNREACH WSAEHOSTUNREACH -# define ENETUNREACH WSAENETUNREACH -# define ENETDOWN WSAENETDOWN # define ENOBUFS WSAENOBUFS # define EAGAIN WSAEWOULDBLOCK # define EWOULDBLOCK WSAEWOULDBLOCK _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
