2
0
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:
John Preston
2014-10-25 13:25:18 +04:00
parent a9a01cf396
commit 898f8e66c1
7 changed files with 5251 additions and 3418 deletions

View File

@@ -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;