[vlc-commits] Disable IPv6 Forcefully on Symbian Port

Pankaj Yadav git at videolan.org
Sat Jan 22 20:58:31 CET 2011


vlc | branch: master | Pankaj Yadav <pankajdnapster at gmail.com> | Fri Jan 21 14:21:54 2011 +0530| [316517befe086a25b3a2b0c2113282568ff3c252] | committer: Jean-Baptiste Kempf

Disable IPv6 Forcefully on Symbian Port

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=316517befe086a25b3a2b0c2113282568ff3c252
---

 include/vlc_network.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/vlc_network.h b/include/vlc_network.h
index 83bc667..04ae4cf 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -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;



More information about the vlc-commits mailing list