mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02: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 994dd17ee5
.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user