From 5cb7326d22e998fbd944a5d71217b61f0e991057 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 28 Oct 2011 14:08:10 -0500 Subject: fluxbox-update_configs.cc: Fix on windows - no kill or sigusr2 --- util/fluxbox-update_configs.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc index fe1261c..a8052a2 100644 --- a/util/fluxbox-update_configs.cc +++ b/util/fluxbox-update_configs.cc @@ -651,11 +651,11 @@ int main(int argc, char **argv) { resource_manager.save(rc_filename.c_str(), rc_filename.c_str()); save_all_files(); -#ifdef HAVE_SIGNAL_H +#if defined(HAVE_SIGNAL_H) && !defined(_WIN32) // if we were given a fluxbox pid, send it a reconfigure signal if (fb_pid > 0) kill(fb_pid, SIGUSR2); -#endif // HAVE_SIGNAL_H +#endif // defined(HAVE_SIGNAL_H) && !defined(_WIN32) } -- cgit v0.11.2