mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +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:
@@ -19,9 +19,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
/* Get the implementation for check_may_shrink_heap. */
|
||||
#include <malloc-sysdep.h>
|
||||
|
||||
/* Compile-time constants. */
|
||||
|
||||
#define HEAP_MIN_SIZE (32*1024)
|
||||
|
||||
Reference in New Issue
Block a user