[icinga-checkins] icinga.org: icinga2/master: Windows build fix.

git at icinga.org git at icinga.org
Mon Feb 4 09:59:22 CET 2013


Module: icinga2
Branch: master
Commit: 789fd23d77f63ec786b351792fb343319f19f0f7
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=789fd23d77f63ec786b351792fb343319f19f0f7

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Feb  4 09:58:45 2013 +0100

Windows build fix.

---

 icinga-app/icinga.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp
index 8b70cfe..e7f3104 100644
--- a/icinga-app/icinga.cpp
+++ b/icinga-app/icinga.cpp
@@ -102,6 +102,7 @@ static bool LoadConfigFiles(void)
 
 }
 
+#ifndef _WIN32
 static void ReloadConfigTimerHandler(void)
 {
 	if (g_ReloadConfig) {
@@ -117,6 +118,7 @@ static void SigHupHandler(int signum)
 
 	g_ReloadConfig = true;
 }
+#endif /* _WIN32 */
 
 /**
  * Entry point for the Icinga application.





More information about the icinga-checkins mailing list