mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-23 06:28:51 +00:00
libdislocator android build fix. (#327)
Fix function signature for bionic libc
This commit is contained in:
committed by
Dominik Maier
parent
0aef3b4040
commit
ce9c6df456
@ -464,7 +464,11 @@ void *reallocarray(void *ptr, size_t elem_len, size_t elem_cnt) {
|
||||
|
||||
}
|
||||
|
||||
#if !defined(__ANDROID__)
|
||||
size_t malloc_usable_size(void *ptr) {
|
||||
#else
|
||||
size_t malloc_usable_size(const void *ptr) {
|
||||
#endif
|
||||
|
||||
return ptr ? PTR_L(ptr) : 0;
|
||||
|
||||
|
Reference in New Issue
Block a user