mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Fixed compilation with -DNGX_DEBUG_MALLOC on FreeBSD 10.
After jemalloc 3.0.0 import there is no _malloc_options symbol, it has been replaced with the malloc_conf one with a different syntax.
This commit is contained in:
parent
a272b2da28
commit
e1133ca60e
@ -76,9 +76,9 @@ ngx_debug_init()
|
|||||||
{
|
{
|
||||||
#if (NGX_DEBUG_MALLOC)
|
#if (NGX_DEBUG_MALLOC)
|
||||||
|
|
||||||
#if __FreeBSD_version >= 500014
|
#if __FreeBSD_version >= 500014 && __FreeBSD_version < 1000011
|
||||||
_malloc_options = "J";
|
_malloc_options = "J";
|
||||||
#else
|
#elif __FreeBSD_version < 500014
|
||||||
malloc_options = "J";
|
malloc_options = "J";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user