diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-10-24 19:46:48 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-10-24 19:46:48 +0400 |
commit | efc6ecab8255beedbe2f2148bb4d1dfeadf335b8 (patch) | |
tree | 8b094f0b718cdaeb6c30f129c7dc9664f8702615 /src/core/ngx_slab.c | |
parent | b9c859e6d56710d2db0984e6e2fabef6d0ad2bfc (diff) |
malloc() debugging on MacOSX.
Diffstat (limited to 'src/core/ngx_slab.c')
-rw-r--r-- | src/core/ngx_slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 870c59bad..9b5b28f2f 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -46,10 +46,10 @@ #else -#if (NGX_FREEBSD) +#if (NGX_HAVE_DEBUG_MALLOC) #define ngx_slab_junk(p, size) \ - if (ngx_freebsd_debug_malloc) ngx_memset(p, 0xD0, size) + if (ngx_debug_malloc) ngx_memset(p, 0xD0, size) #else |