Commit ff99793a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Android: Fix src/network/udp.c compilation.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1ee61ad8
...@@ -373,7 +373,7 @@ net_IPv4Join (vlc_object_t *obj, int fd, ...@@ -373,7 +373,7 @@ net_IPv4Join (vlc_object_t *obj, int fd,
memset (&opt, 0, sizeof (opt)); memset (&opt, 0, sizeof (opt));
if (src != NULL) if (src != NULL)
{ {
# ifdef IP_ADD_SOURCE_MEMBERSHIP # if defined( IP_ADD_SOURCE_MEMBERSHIP ) && !defined( __ANDROID__ )
cmd = IP_ADD_SOURCE_MEMBERSHIP; cmd = IP_ADD_SOURCE_MEMBERSHIP;
opt.gsr4.imr_multiaddr = grp->sin_addr; opt.gsr4.imr_multiaddr = grp->sin_addr;
opt.gsr4.imr_sourceaddr = src->sin_addr; opt.gsr4.imr_sourceaddr = src->sin_addr;
......
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