mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 10:35:11 -04:00
Android: Fix 64 build not compiling
This commit is contained in:
parent
0aacf445c5
commit
2b5801f4e6
@ -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! */
|
/* 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 */
|
/* 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 */
|
/* (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
|
#else
|
||||||
static int SkipRange(const cc_string* str) { return false; }
|
static int SkipRange(const cc_string* str) { return false; }
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#include "Funcs.h"
|
#include "Funcs.h"
|
||||||
#include "String.h"
|
#include "String.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user