mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
gsocket: Fix #ifdef for defining g_socket_get_adapter_ipv4_addr()
It was failing compilation on Hurd due to being defined but not used. https://gitlab.gnome.org/GNOME/glib/-/jobs/4380104 Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
bb0d3d2c1c
commit
0c84510c82
@ -2402,7 +2402,7 @@ g_socket_w32_get_adapter_ipv4_addr (const gchar *name_or_ip)
|
||||
|
||||
return ip_result;
|
||||
}
|
||||
#elif defined(HAVE_SIOCGIFADDR)
|
||||
#elif (defined(HAVE_SIOCGIFADDR) && (!(defined(HAVE_IP_MREQN) && !defined(__APPLE__)) || defined(IP_ADD_SOURCE_MEMBERSHIP)))
|
||||
static gulong
|
||||
g_socket_get_adapter_ipv4_addr (GSocket *socket,
|
||||
const char *iface,
|
||||
|
Loading…
x
Reference in New Issue
Block a user