diff --git a/lib/CConsoleHandler.cpp b/lib/CConsoleHandler.cpp index b5489b984..ebff37841 100644 --- a/lib/CConsoleHandler.cpp +++ b/lib/CConsoleHandler.cpp @@ -165,6 +165,7 @@ LONG WINAPI onUnhandledException(EXCEPTION_POINTERS* exception) void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color) { +#ifndef VCMI_IOS TColor colorCode; switch(color) { @@ -204,6 +205,7 @@ void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color) #else std::cout << colorCode; #endif +#endif } int CConsoleHandler::run()