Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89284
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
int result;
DBusConnection *connection;
const char *name;
- dbus_bool_t do_fork;
-
+#ifndef DBUS_WIN
+ dbus_bool_t do_fork = FALSE;
+#endif
if (argc != 3)
{
name = "org.freedesktop.DBus.TestSuiteEchoService";
- do_fork = FALSE;
}
else
{
name = argv[1];
#ifndef DBUS_WIN
do_fork = strcmp (argv[2], "fork") == 0;
-#else
- do_fork = FALSE;
#endif
}
wchar_t *p;
wchar_t *daemon_name;
int result;
- int showConsole = 0;
+
#ifdef DBUS_WINCE
char *s = NULL;
#else
BOOL inherit = TRUE;
DWORD flags = 0;
-#ifdef AUTO_ACTIVATE_CONSOLE_WHEN_VERBOSE_MODE
- if (verbose)
- showConsole = 1;
-#endif
GetModuleFileNameW (NULL, dbusDaemonPath, DIM (dbusDaemonPath));
daemon_name = WCSTRINGIFY(DBUS_DAEMON_NAME) L".exe";