]> git.sesse.net Git - vlc/commitdiff
WinCE compile fix
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 24 May 2005 08:09:30 +0000 (08:09 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 24 May 2005 08:09:30 +0000 (08:09 +0000)
src/misc/net.c

index d5910be145ae5e0dec1026d372570273904e7bcd..ce7fa8331da8df876053cfd060b3c0a8f6685a4d 100644 (file)
 #    include <sys/time.h>
 #endif
 
-#if defined( UNDER_CE )
-#   include <winsock.h>
-#elif defined( WIN32 )
+#if defined( WIN32 ) || defined( UNDER_CE )
 #   include <winsock2.h>
 #   include <ws2tcpip.h>
-#   ifndef IN_MULTICAST
-#       define IN_MULTICAST(a) IN_CLASSD(a)
-#   endif
 #else
 #   include <sys/socket.h>
 #   include <netinet/in.h>
@@ -57,8 +52,6 @@
 
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
-#elif defined( WIN32 ) && !defined( UNDER_CE )
-#   include <io.h>
 #endif
 
 #include "network.h"