From a27d105dcd1376c1df4ff16e388dfcfa3b355cc6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Aug 2013 09:35:30 +0200 Subject: FatalError: new library to replace mpd_error.h --- src/Daemon.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Daemon.hxx') diff --git a/src/Daemon.hxx b/src/Daemon.hxx index a4117537d..cd4cc965e 100644 --- a/src/Daemon.hxx +++ b/src/Daemon.hxx @@ -20,8 +20,6 @@ #ifndef MPD_DAEMON_HXX #define MPD_DAEMON_HXX -#include "mpd_error.h" - #ifndef WIN32 void daemonize_init(const char *user, const char *group, const char *pidfile); @@ -48,10 +46,12 @@ daemonize_finish(void) void daemonize_kill(void); #else -#include +#include "FatalError.hxx" static inline void daemonize_kill(void) -{ MPD_ERROR("--kill is not available on WIN32"); } +{ + FatalError("--kill is not available on WIN32"); +} #endif /** -- cgit v1.2.3