mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-27 00:40:24 +00:00
[ANDROID] And more fixes for android
This commit is contained in:
parent
989952a873
commit
faa13945eb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user