From cc4c1e89f439244fd0af0afd45ca40015cea4634 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 3 Feb 2012 12:08:40 -0500 Subject: [PATCH] gio/tests/socket-common.c: add a missing #ifdef G_OS_UNIX --- gio/tests/socket-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/tests/socket-common.c b/gio/tests/socket-common.c index 160195ab8..e59fa9cd4 100644 --- a/gio/tests/socket-common.c +++ b/gio/tests/socket-common.c @@ -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)