Merge "Restore posix_memalign"
This commit is contained in:
commit
7b0d9b7984
1 changed files with 5 additions and 0 deletions
|
@ -210,6 +210,11 @@ void* pvalloc(size_t bytes)
|
|||
return dlpvalloc(bytes);
|
||||
}
|
||||
|
||||
int posix_memalign(void** memptr, size_t alignment, size_t size)
|
||||
{
|
||||
return dlposix_memalign(memptr, alignment, size);
|
||||
}
|
||||
|
||||
/* Support for malloc debugging.
|
||||
* Note that if USE_DL_PREFIX is not defined, it's assumed that memory
|
||||
* allocation routines are implemented somewhere else, so all our custom
|
||||
|
|
Loading…
Reference in a new issue