Android: Fix 64 build not compiling

This commit is contained in:
UnknownShadow200 2021-09-29 22:48:44 +10:00
parent 0aacf445c5
commit 2b5801f4e6
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -6,6 +6,7 @@
#include "Funcs.h"
#include "String.h"
#include "Platform.h"
#include <errno.h>
#include <unistd.h>
#include <android/log.h>