mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
parent
4888a26c0e
commit
f6f771a3f6
@ -48,9 +48,6 @@ Application::Application(const Dictionary::Ptr& serializedUpdate)
|
|||||||
BOOST_THROW_EXCEPTION(Win32Exception("WSAStartup failed", WSAGetLastError()));
|
BOOST_THROW_EXCEPTION(Win32Exception("WSAStartup failed", WSAGetLastError()));
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
char *debugging = getenv("_DEBUG");
|
|
||||||
m_Debugging = (debugging && strtol(debugging, NULL, 10) != 0);
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (IsDebuggerPresent())
|
if (IsDebuggerPresent())
|
||||||
m_Debugging = true;
|
m_Debugging = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user