]> git.sesse.net Git - vlc/commitdiff
Disable IPv6 Forcefully on Symbian Port
authorPankaj Yadav <pankajdnapster@gmail.com>
Fri, 21 Jan 2011 08:33:54 +0000 (14:03 +0530)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Jan 2011 19:58:24 +0000 (20:58 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_network.h

index 83bc6675d228e948ccca904ff30c441add9efb0e..04ae4cfe508c3abe24cd446511ecd45ae9979dee 100644 (file)
@@ -75,6 +75,16 @@ struct msghdr
 #   define net_errno errno
 #endif
 
+#if defined( __SYMBIAN32__ )
+#undef AF_INET6
+#undef IN6_IS_ADDR_MULTICAST
+#undef IPV6_V6ONLY
+#undef IPV6_MULTICAST_HOPS
+#undef IPV6_MULTICAST_IF
+#undef IPV6_TCLASS
+#undef IPV6_JOIN_GROUP
+#endif
+
 int vlc_socket (int, int, int, bool nonblock) LIBVLC_USED;
 
 struct sockaddr;