Commit cfe935ce authored by Christophe Massiot's avatar Christophe Massiot

Fixed a compilation issue under Win32

parent cb72f894
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* decoders. * decoders.
***************************************************************************** *****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN * Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input.c,v 1.159 2001/11/25 05:04:38 stef Exp $ * $Id: input.c,v 1.160 2001/11/27 10:50:35 massiot Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
#ifdef WIN32 #ifdef WIN32
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h>
#elif !defined( SYS_BEOS ) && !defined( SYS_NTO ) #elif !defined( SYS_BEOS ) && !defined( SYS_NTO )
# include <netdb.h> /* hostent ... */ # include <netdb.h> /* hostent ... */
# include <sys/socket.h> # include <sys/socket.h>
...@@ -948,9 +949,6 @@ static void NetworkOpen( input_thread_t * p_input ) ...@@ -948,9 +949,6 @@ static void NetworkOpen( input_thread_t * p_input )
# define IN_MULTICAST(a) IN_CLASSD(a) # define IN_MULTICAST(a) IN_CLASSD(a)
#endif #endif
/* TODO : make this compile under Win32 */
/* Enabled this so that windows people have a serious look at it :)) */
//#ifndef WIN32
if( IN_MULTICAST( ntohl(sock.sin_addr.s_addr) ) ) if( IN_MULTICAST( ntohl(sock.sin_addr.s_addr) ) )
{ {
struct ip_mreq imr; struct ip_mreq imr;
...@@ -990,7 +988,6 @@ static void NetworkOpen( input_thread_t * p_input ) ...@@ -990,7 +988,6 @@ static void NetworkOpen( input_thread_t * p_input )
return; return;
} }
} }
//#endif
p_input->stream.b_pace_control = 0; p_input->stream.b_pace_control = 0;
p_input->stream.b_seekable = 0; p_input->stream.b_seekable = 0;
......
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