diff options
author | Max Kellermann <max@duempel.org> | 2009-03-01 01:35:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-01 01:35:53 +0100 |
commit | eb64f6542f71cec3dc33a14186443943b207c3ad (patch) | |
tree | b8d1f32fdeecd43084c65aa129f4585ef85f261f /src/daemon.c | |
parent | b4f84fab349525aa5a4ea364509a4d9ec9db47f4 (diff) | |
download | mpd-eb64f6542f71cec3dc33a14186443943b207c3ad.tar.gz mpd-eb64f6542f71cec3dc33a14186443943b207c3ad.tar.xz mpd-eb64f6542f71cec3dc33a14186443943b207c3ad.zip |
daemon: disable daemonize_detach() on WIN32
Diffstat (limited to '')
-rw-r--r-- | src/daemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c index 309463cd5..4df059544 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 } |