1
0
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:
Pino Toscano
2013-01-17 21:08:12 +01:00
parent d542f8ed21
commit 2a26ef3a01
4 changed files with 13 additions and 11 deletions

View File

@ -55,3 +55,5 @@ check_may_shrink_heap (void)
return may_shrink_heap;
}
#define HAVE_MREMAP 1