]> granicus.if.org Git - icinga2/commitdiff
Don't compile SigHupHandler on Windows.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Nov 2013 07:29:08 +0000 (08:29 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Nov 2013 07:34:34 +0000 (08:34 +0100)
Refs #4995

icinga-app/icinga.cpp

index c04096987cfb5ad3f5b66e6c475add0339810f37..d59c55d6f0ea66f1808ab630f535f2886149992a 100644 (file)
@@ -115,10 +115,12 @@ static bool LoadConfigFiles(const String& appType, bool validateOnly)
        return true;
 }
 
+#ifndef _WIN32
 static void SigHupHandler(int)
 {
        Application::RequestRestart();
 }
+#endif /* _WIN32 */
 
 static bool Daemonize(const String& stderrFile)
 {