mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Disable terminate handler on Android to fix Google Play reporter
This commit is contained in:
@@ -299,8 +299,10 @@ CConsoleHandler::CConsoleHandler():
|
|||||||
GetConsoleScreenBufferInfo(handleErr, &csbi);
|
GetConsoleScreenBufferInfo(handleErr, &csbi);
|
||||||
defErrColor = csbi.wAttributes;
|
defErrColor = csbi.wAttributes;
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
#ifndef VCMI_ANDROID
|
||||||
SetUnhandledExceptionFilter(onUnhandledException);
|
SetUnhandledExceptionFilter(onUnhandledException);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
defColor = "\x1b[0m";
|
defColor = "\x1b[0m";
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user