From 722a90c9cbc7368ffde9ad768ef4f2e45c3a620d Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Mon, 30 Nov 2009 10:23:54 +0100 Subject: all changes for dbus-1.2 API (cherry picked from commit 6734a3210a0705e3ab01ee123fac275799877353) --- tools/dbus-launch-win.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/dbus-launch-win.c b/tools/dbus-launch-win.c index cc936a6c..27fabbca 100644 --- a/tools/dbus-launch-win.c +++ b/tools/dbus-launch-win.c @@ -68,11 +68,12 @@ int main(int argc,char **argv) showConsole = 1; #endif GetModuleFileName(NULL,dbusDaemonPath,sizeof(dbusDaemonPath)); - /* check for debug version */ - if (strstr(dbusDaemonPath,"dbus-launchd.exe")) + +#ifdef _DEBUG daemon_name = "dbus-daemond.exe"; - else +#else daemon_name = "dbus-daemon.exe"; +#endif if ((p = strrchr(dbusDaemonPath,'\\'))) { *(p+1)= '\0'; -- cgit v1.2.3