From 64c5a652fb76e999eea27aed777d710d747ed949 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 13 Aug 2004 23:39:45 +0000 Subject: Fixup PAGE_SIZE problems -Erik --- libc/stdlib/malloc/malloc.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/stdlib/malloc') diff --git a/libc/stdlib/malloc/malloc.h b/libc/stdlib/malloc/malloc.h index 37afe7299..ef95994a6 100644 --- a/libc/stdlib/malloc/malloc.h +++ b/libc/stdlib/malloc/malloc.h @@ -14,9 +14,8 @@ /* The alignment we guarantee for malloc return values. */ #define MALLOC_ALIGNMENT (sizeof (double)) -/* The system pagesize we assume; we really ought to get it with - getpagesize, but gee, how annoying. */ -#define MALLOC_PAGE_SIZE 4096 +/* The system pagesize... */ +#define MALLOC_PAGE_SIZE _dl_pagesize /* The minimum size of block we request from the the system to extend the heap for small allocations (we may request a bigger block if necessary to -- cgit v1.2.3