From: Ralf Habacker Date: Fri, 5 Aug 2011 20:37:06 +0000 (+0200) Subject: Win32 compile fix. X-Git-Tag: dbus-1.5.8~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab7b3f9;p=thirdparty%2Fdbus.git Win32 compile fix. Do not limit ACTION_RELOAD to unix only because it is used in the crossplattform function handle_reload_watch(). --- diff --git a/bus/main.c b/bus/main.c index e879ff86d..8a9ffdfe9 100644 --- a/bus/main.c +++ b/bus/main.c @@ -48,13 +48,13 @@ static int reload_pipe[2]; static void close_reload_pipe (DBusWatch **); -#ifdef DBUS_UNIX typedef enum { ACTION_RELOAD = 'r', ACTION_QUIT = 'q' } SignalAction; +#ifdef DBUS_UNIX static void signal_handler (int sig) {