mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 01:21:57 -05:00
Android: Fix 64 build not compiling
This commit is contained in:
parent
0aacf445c5
commit
2b5801f4e6
2 changed files with 2 additions and 1 deletions
|
@ -641,7 +641,7 @@ static int SkipRange(const cc_string* str) {
|
|||
/* Android has a lot of ranges in /maps, which produces 100-120 kb of logs for one single crash! */
|
||||
/* As such, to cut down the crash logs to more relevant information, ignore shared memory and fonts */
|
||||
/* (e.g. removes a ton of '/dev/ashmem/dalvik-thread local mark stack (deleted)' entries */
|
||||
return String_ContainsConst(str, "/system/fonts/") || String_ContainsConst(str, "/dev/ashmem/") || String_ContainsConst("/dev/mali0");
|
||||
return String_ContainsConst(str, "/system/fonts/") || String_ContainsConst(str, "/dev/ashmem/") || String_ContainsConst(str, "/dev/mali0");
|
||||
}
|
||||
#else
|
||||
static int SkipRange(const cc_string* str) { return false; }
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "Funcs.h"
|
||||
#include "String.h"
|
||||
#include "Platform.h"
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <android/log.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue