mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gio/tests/socket-client, socket-server: fix for win32
The addition of unix socket support broke these on win32
This commit is contained in:
@@ -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}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user