mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
Merge pull request #227 from devnexen/android_build_fix
Android build fix proposal.
This commit is contained in:
commit
ea558cadba
2 changed files with 10 additions and 4 deletions
|
@ -165,7 +165,11 @@ extern "C" {
|
|||
|
||||
void* reallocf(void* p, size_t newsize) MI_FORWARD2(mi_reallocf,p,newsize);
|
||||
size_t malloc_size(void* p) MI_FORWARD1(mi_usable_size,p);
|
||||
#if !defined(__ANDROID__)
|
||||
size_t malloc_usable_size(void *p) MI_FORWARD1(mi_usable_size,p);
|
||||
#else
|
||||
size_t malloc_usable_size(const void *p) MI_FORWARD1(mi_usable_size,p);
|
||||
#endif
|
||||
void cfree(void* p) MI_FORWARD0(mi_free, p);
|
||||
|
||||
// no forwarding here due to aliasing/name mangling issues
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue