From 8e1fbe61b69562d838aafda8d75798993f022d4a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 18 Jul 2003 14:44:05 +0000 Subject: nginx-0.0.1-2003-07-18-18:44:05 import --- src/core/nginx.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/core/nginx.c') 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; -- cgit