mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-01 05:32:11 +01:00
gio/tests/socket-common.c: add a missing #ifdef G_OS_UNIX
This commit is contained in:
parent
d22c36cf00
commit
cc4c1e89f4
@ -1,5 +1,6 @@
|
||||
/* #included into both socket-client.c and socket-server.c */
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
static const char *unix_socket_address_types[] = {
|
||||
"invalid",
|
||||
"anonymous",
|
||||
@ -7,6 +8,7 @@ static const char *unix_socket_address_types[] = {
|
||||
"abstract",
|
||||
"padded"
|
||||
};
|
||||
#endif
|
||||
|
||||
static char *
|
||||
socket_address_to_string (GSocketAddress *address)
|
||||
|
Loading…
x
Reference in New Issue
Block a user