gio/tests/socket-client, socket-server: fix for win32

The addition of unix socket support broke these on win32
This commit is contained in:
Dan Winship
2010-04-23 12:21:38 -04:00
parent 3baff96b37
commit 5b329c506a
3 changed files with 9 additions and 1 deletions

View File

@@ -32,8 +32,10 @@ static GOptionEntry cmd_entries[] = {
"Enable non-blocking i/o", NULL},
{"use-source", 's', 0, G_OPTION_ARG_NONE, &use_source,
"Use GSource to wait for non-blocking i/o", NULL},
#ifdef G_OS_UNIX
{"unix", 'U', 0, G_OPTION_ARG_NONE, &unix_socket,
"Use a unix socket instead of IP", NULL},
#endif
{NULL}
};