Commit e8f43963 authored by Limin Wang's avatar Limin Wang

avformat/udp: remove IPPROTO_IPV6 macro

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent 268d00bb
......@@ -175,7 +175,7 @@ static int udp_set_multicast_ttl(int sockfd, int mcastTTL,
cmd = IP_MULTICAST_TTL;
break;
#endif
#if defined(IPPROTO_IPV6) && defined(IPV6_MULTICAST_HOPS)
#ifdef IPV6_MULTICAST_HOPS
case AF_INET6:
protocol = IPPROTO_IPV6;
cmd = IPV6_MULTICAST_HOPS;
......
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