From 930dc603afd86edbd8939d746f36279827ad9d5e Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 10 Aug 2015 15:38:45 +0200 Subject: [PATCH] Build fix for Windows --- lib/base/application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base/application.cpp b/lib/base/application.cpp index 435a8c655..785ed6333 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -732,6 +732,7 @@ void Application::AttachDebugger(const String& filename, bool interactive) #endif /* _WIN32 */ } +#ifndef _WIN32 /** * Signal handler for SIGINT and SIGTERM. Prepares the application for cleanly * shutting down during the next execution of the event loop. @@ -752,6 +753,7 @@ void Application::SigIntTermHandler(int signum) instance->RequestShutdown(); } +#endif /* _WIN32 */ /** * Signal handler for SIGUSR1. This signal causes Icinga to re-open