mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
fixed debug logs in os x crashes
This commit is contained in:
@@ -19,9 +19,9 @@ Copyright (c) 2014 John Preston, https://tdesktop.com
|
||||
|
||||
extern bool gDebug;
|
||||
inline bool cDebug() {
|
||||
#if defined _DEBUG && !defined Q_OS_MAC
|
||||
#if defined _DEBUG
|
||||
return true;
|
||||
#elif defined _WITH_DEBUG || (defined _DEBUG && defined Q_OS_MAC)
|
||||
#elif defined _WITH_DEBUG
|
||||
return gDebug;
|
||||
#else
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user