mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Merge pull request #62 from jserv/correct-linux-wording
Clarify the comment about Linux distributions
This commit is contained in:
commit
ea6601c9cc
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ void* reallocarray( void* p, size_t count, size_t size ) { // BSD
|
|||
}
|
||||
|
||||
#if defined(__GLIBC__) && defined(__linux__)
|
||||
// forward __libc interface (needed for redhat linux)
|
||||
// forward __libc interface (needed for glibc-based Linux distributions)
|
||||
void* __libc_malloc(size_t size) MI_FORWARD1(mi_malloc,size)
|
||||
void* __libc_calloc(size_t count, size_t size) MI_FORWARD2(mi_calloc,count,size)
|
||||
void* __libc_realloc(void* p, size_t size) MI_FORWARD2(mi_realloc,p,size)
|
||||
|
|
Loading…
Add table
Reference in a new issue