diff options
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index ce2e30a4a..4bc9a218b 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -71,7 +71,12 @@ int main(int argc, char *const *argv) ngx_core_conf_t *ccf; #if (NGX_DEBUG) && (__FreeBSD__) - malloc_options = "J"; +#if __FreeBSD_version >= 500014 + _malloc_options +#else + malloc_options +#endif + = "J"; #endif /* TODO */ ngx_max_sockets = -1; |