mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add HAVE_MREMAP for mremap usage
Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap availability. Move the malloc-sysdep.h include from arena.c to malloc.c, since what is provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion of arena.c.
This commit is contained in:
@ -55,3 +55,5 @@ check_may_shrink_heap (void)
|
||||
|
||||
return may_shrink_heap;
|
||||
}
|
||||
|
||||
#define HAVE_MREMAP 1
|
||||
|
Reference in New Issue
Block a user