aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-10-28 19:08:10 (GMT)
committerRyan Pavlik <rpavlik@iastate.edu>2011-10-31 15:54:09 (GMT)
commit5cb7326d22e998fbd944a5d71217b61f0e991057 (patch)
tree9cae510276a067fd97c60b2f8d553a19df7f586d /util
parent3ca61475fb14e8c082a9d277f0e433d9cb4af9a0 (diff)
downloadfluxbox-5cb7326d22e998fbd944a5d71217b61f0e991057.zip
fluxbox-5cb7326d22e998fbd944a5d71217b61f0e991057.tar.bz2
fluxbox-update_configs.cc: Fix on windows - no kill or sigusr2
Diffstat (limited to 'util')
-rw-r--r--util/fluxbox-update_configs.cc4
1 files 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) {
651 resource_manager.save(rc_filename.c_str(), rc_filename.c_str()); 651 resource_manager.save(rc_filename.c_str(), rc_filename.c_str());
652 save_all_files(); 652 save_all_files();
653 653
654#ifdef HAVE_SIGNAL_H 654#if defined(HAVE_SIGNAL_H) && !defined(_WIN32)
655 // if we were given a fluxbox pid, send it a reconfigure signal 655 // if we were given a fluxbox pid, send it a reconfigure signal
656 if (fb_pid > 0) 656 if (fb_pid > 0)
657 kill(fb_pid, SIGUSR2); 657 kill(fb_pid, SIGUSR2);
658#endif // HAVE_SIGNAL_H 658#endif // defined(HAVE_SIGNAL_H) && !defined(_WIN32)
659 659
660 } 660 }
661 661