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