[vlc-commits] Android: Fix src/network/udp.c compilation.
Jean-Baptiste Kempf
git at videolan.org
Thu Jun 2 23:29:34 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Nov 7 16:30:13 2010 +0100| [ff99793a001bcb422a6b823857e8fb13ecaa1aad] | committer: Jean-Baptiste Kempf
Android: Fix src/network/udp.c compilation.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff99793a001bcb422a6b823857e8fb13ecaa1aad
---
src/network/udp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/network/udp.c b/src/network/udp.c
index 80522af..2781313 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -373,7 +373,7 @@ net_IPv4Join (vlc_object_t *obj, int fd,
memset (&opt, 0, sizeof (opt));
if (src != NULL)
{
-# ifdef IP_ADD_SOURCE_MEMBERSHIP
+# if defined( IP_ADD_SOURCE_MEMBERSHIP ) && !defined( __ANDROID__ )
cmd = IP_ADD_SOURCE_MEMBERSHIP;
opt.gsr4.imr_multiaddr = grp->sin_addr;
opt.gsr4.imr_sourceaddr = src->sin_addr;
More information about the vlc-commits
mailing list