mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
Build fix for Windows
This commit is contained in:
parent
7890e20da7
commit
930dc603af
@ -732,6 +732,7 @@ void Application::AttachDebugger(const String& filename, bool interactive)
|
|||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
/**
|
/**
|
||||||
* Signal handler for SIGINT and SIGTERM. Prepares the application for cleanly
|
* Signal handler for SIGINT and SIGTERM. Prepares the application for cleanly
|
||||||
* shutting down during the next execution of the event loop.
|
* shutting down during the next execution of the event loop.
|
||||||
@ -752,6 +753,7 @@ void Application::SigIntTermHandler(int signum)
|
|||||||
|
|
||||||
instance->RequestShutdown();
|
instance->RequestShutdown();
|
||||||
}
|
}
|
||||||
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Signal handler for SIGUSR1. This signal causes Icinga to re-open
|
* Signal handler for SIGUSR1. This signal causes Icinga to re-open
|
||||||
|
Loading…
x
Reference in New Issue
Block a user