Fix the prototype of malloc_size. Otherwise we'll end with invalid

redeclaration if malloc/malloc.h is pulled on Darwin
This commit is contained in:
Anton Korobeynikov 2020-04-21 15:07:32 +03:00
parent e31298bdc3
commit 4a0c53ba5a

View File

@ -165,7 +165,7 @@ extern "C" {
void cfree(void* p) MI_FORWARD0(mi_free, p);
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);
size_t malloc_size(const 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