From: Gunnar Beutner Date: Mon, 10 Aug 2015 13:38:45 +0000 (+0200) Subject: Build fix for Windows X-Git-Tag: v2.4.0~437 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=930dc603afd86edbd8939d746f36279827ad9d5e;p=icinga2 Build fix for Windows --- 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