diff options
author | Jason Evans <jasone@FreeBSD.org> | 2007-03-29 21:07:17 +0000 |
---|---|---|
committer | Jason Evans <jasone@FreeBSD.org> | 2007-03-29 21:07:17 +0000 |
commit | d33f4690bac522d8b827990a5823d265452cfaac (patch) | |
tree | 2553da61d589e85e6f6e9a81d6ff835376890c98 /lib/libc/stdlib/malloc.c | |
parent | 2404c938e668fce38a386a681c6dac70ee322518 (diff) |
Notes
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index ced85114c38c..4bb2a926967a 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -146,7 +146,11 @@ __FBSDID("$FreeBSD$"); # define MALLOC_STATS #endif -#ifndef MALLOC_DEBUG +#ifdef MALLOC_DEBUG +# ifdef NDEBUG +# undef NDEBUG +# endif +#else # ifndef NDEBUG # define NDEBUG # endif @@ -549,9 +553,9 @@ struct arena_s { static unsigned ncpus; /* VM page size. */ -static unsigned pagesize; -static unsigned pagesize_mask; -static unsigned pagesize_2pow; +static size_t pagesize; +static size_t pagesize_mask; +static size_t pagesize_2pow; /* Various bin-related settings. */ static size_t bin_maxclass; /* Max size class for bins. */ |