From eb64f6542f71cec3dc33a14186443943b207c3ad Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 1 Mar 2009 01:35:53 +0100 Subject: daemon: disable daemonize_detach() on WIN32 --- src/daemon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/daemon.c') diff --git a/src/daemon.c b/src/daemon.c index 309463cd..4df05954 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -130,6 +130,7 @@ daemonize_set_user(void) #endif } +#ifndef G_OS_WIN32 static void daemonize_detach(void) { @@ -160,6 +161,7 @@ daemonize_detach(void) g_debug("daemonized!"); } +#endif void daemonize(bool detach) @@ -188,7 +190,7 @@ daemonize(bool detach) } #else /* no daemonization on WIN32 */ - (void)options; + (void)detach; #endif } -- cgit v1.2.3