[ANDROID] And more fixes for android

This commit is contained in:
ptitSeb 2022-11-01 23:04:10 +01:00
parent 989952a873
commit faa13945eb

View File

@ -201,6 +201,13 @@ EXPORT int posix_memalign(void** p, size_t align, size_t size)
return 0;
}
EXPORT size_t malloc_usable_size(const void* p)
{
return box_malloc_usable_size(p);
}
#endif
EXPORT void* valloc(size_t size)
{
return box_memalign(box86_pagesize, size);
@ -216,11 +223,6 @@ EXPORT void cfree(void* p)
box_free(p);
}
EXPORT size_t malloc_usable_size(const void* p)
{
return box_malloc_usable_size(p);
}
#endif
EXPORT void* my__Znwm(size_t sz) //operator new(size_t)
{
return box_malloc(sz);