Remove support for _DEBUG env var.

Fixes #3688
This commit is contained in:
Gunnar Beutner 2013-02-11 13:46:02 +01:00
parent 4888a26c0e
commit f6f771a3f6
1 changed files with 0 additions and 3 deletions

View File

@ -48,9 +48,6 @@ Application::Application(const Dictionary::Ptr& serializedUpdate)
BOOST_THROW_EXCEPTION(Win32Exception("WSAStartup failed", WSAGetLastError()));
#endif /* _WIN32 */
char *debugging = getenv("_DEBUG");
m_Debugging = (debugging && strtol(debugging, NULL, 10) != 0);
#ifdef _WIN32
if (IsDebuggerPresent())
m_Debugging = true;