mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-01 01:04:37 +03:00
Clarify the comment about Linux distributions
Red Hat Linux was discontinued by Red Hat in 2003. It would make sense to address glibc-based Linux distributions rather than Red Hat Linux. Reference: https://en.wikipedia.org/wiki/Red_Hat_Linux
This commit is contained in:
parent
5dfced26c2
commit
2347a65fe0
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