Skip to content

Commit 1ef5f90

Browse files
committed
_frida: Support UNIX socket addresses everywhere
Now that latest GLib supports it.
1 parent 833bf3a commit 1ef5f90

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/_frida.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
#include <frida-core.h>
88
#include <string.h>
9-
#if defined (G_OS_UNIX) && !defined (G_TYPE_UNIX_SOCKET_ADDRESS)
10-
# include <gio/gunixsocketaddress.h>
11-
#endif
129

1310
#ifdef _MSC_VER
1411
# pragma warning (push)
@@ -1788,7 +1785,6 @@ PyGObject_marshal_socket_address (GSocketAddress * address)
17881785

17891786
g_free (host);
17901787
}
1791-
#ifdef G_OS_UNIX
17921788
else if (G_IS_UNIX_SOCKET_ADDRESS (address))
17931789
{
17941790
GUnixSocketAddress * sa = G_UNIX_SOCKET_ADDRESS (address);
@@ -1821,7 +1817,6 @@ PyGObject_marshal_socket_address (GSocketAddress * address)
18211817
}
18221818
}
18231819
}
1824-
#endif
18251820

18261821
if (result == NULL)
18271822
result = PyGObject_new_take_handle (g_object_ref (address), PYFRIDA_TYPE (GObject));

0 commit comments

Comments
 (0)