mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
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 994dd17ee52d59b249a0746ee289b3f35acf3f8a.
This commit is contained in:
parent
994dd17ee5
commit
51e5324493
@ -2379,7 +2379,7 @@ g_socket_multicast_group_operation_ssm (GSocket *socket,
|
|||||||
|
|
||||||
case G_SOCKET_FAMILY_IPV4:
|
case G_SOCKET_FAMILY_IPV4:
|
||||||
{
|
{
|
||||||
#if defined (IP_ADD_SOURCE_MEMBERSHIP) && !defined(HAVE_IP_MREQN)
|
#ifdef IP_ADD_SOURCE_MEMBERSHIP
|
||||||
gint optname;
|
gint optname;
|
||||||
struct ip_mreq_source mc_req_src;
|
struct ip_mreq_source mc_req_src;
|
||||||
|
|
||||||
@ -2462,7 +2462,7 @@ g_socket_multicast_group_operation_ssm (GSocket *socket,
|
|||||||
_("Error leaving multicast group: %s"),
|
_("Error leaving multicast group: %s"),
|
||||||
_("No support for IPv4 source-specific multicast"));
|
_("No support for IPv4 source-specific multicast"));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif /* IP_ADD_SOURCE_MEMBERSHIP && !HAVE_IP_MREQN*/
|
#endif /* IP_ADD_SOURCE_MEMBERSHIP */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user