mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
udp: Fix a simple typo in the previous commit
Use #ifdef instead of #if, to fix the build
This commit is contained in:
parent
034a4a771e
commit
a097571c0a
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ gst_udp_join_group (int sockfd, struct sockaddr_storage *addr, gchar * iface)
|
|||
|
||||
mreq4.imr_multiaddr.s_addr =
|
||||
((struct sockaddr_in *) addr)->sin_addr.s_addr;
|
||||
#if HAVE_IP_MREQN
|
||||
#ifdef HAVE_IP_MREQN
|
||||
if (iface)
|
||||
mreq4.imr_ifindex = if_nametoindex (iface);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue