projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d22c36c
)
gio/tests/socket-common.c: add a missing #ifdef G_OS_UNIX
author
Dan Winship
<danw@gnome.org>
Fri, 3 Feb 2012 17:08:40 +0000
(12:08 -0500)
committer
Dan Winship
<danw@gnome.org>
Fri, 3 Feb 2012 17:58:53 +0000
(12:58 -0500)
gio/tests/socket-common.c
patch
|
blob
|
history
diff --git
a/gio/tests/socket-common.c
b/gio/tests/socket-common.c
index
160195a
..
e59fa9c
100644
(file)
--- 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)