Commit 51e53244 authored by Xavier Claessens's avatar Xavier Claessens

Revert "gsocket: Fix build error on Android"

This was the wrong fix, the real cause is a bug in Android NDK r16:
https://issuetracker.google.com/issues/36987220

This reverts commit 994dd17e.
parent 994dd17e
Pipeline #9337 passed with stage
in 2 minutes and 12 seconds
......@@ -2379,7 +2379,7 @@ g_socket_multicast_group_operation_ssm (GSocket *socket,
case G_SOCKET_FAMILY_IPV4:
{
#if defined (IP_ADD_SOURCE_MEMBERSHIP) && !defined(HAVE_IP_MREQN)
#ifdef IP_ADD_SOURCE_MEMBERSHIP
gint optname;
struct ip_mreq_source mc_req_src;
......@@ -2462,7 +2462,7 @@ g_socket_multicast_group_operation_ssm (GSocket *socket,
_("Error leaving multicast group: %s"),
_("No support for IPv4 source-specific multicast"));
return FALSE;
#endif /* IP_ADD_SOURCE_MEMBERSHIP && !HAVE_IP_MREQN*/
#endif /* IP_ADD_SOURCE_MEMBERSHIP */
}
break;
......
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