Turn off color in iOS logs

This commit is contained in:
Henrik Rydgård 2017-01-25 17:14:16 +01:00
parent d8197c88a1
commit 510228aab9

View File

@ -54,15 +54,15 @@ ConsoleListener::ConsoleListener() : bHidden(true)
#if defined(USING_WIN_UI)
hConsole = NULL;
bUseColor = true;
if (hTriggerEvent == NULL)
{
if (hTriggerEvent == NULL) {
hTriggerEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
InitializeCriticalSection(&criticalSection);
logPending = new char[LOG_PENDING_MAX];
}
++refCount;
#elif defined(_WIN32)
#elif defined(ANDROID)
bUseColor = false;
#elif defined(IOS)
bUseColor = false;
#else
bUseColor = isatty(fileno(stdout));