aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-07-18 14:44:05 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-07-18 14:44:05 +0000
commit8e1fbe61b69562d838aafda8d75798993f022d4a (patch)
tree62231a7769d67b79f11de63c079e05d93ee274ea /src/core/nginx.c
parent7f125081f4347118ba50066e6341e429b3a85c3c (diff)
downloadnginx-8e1fbe61b69562d838aafda8d75798993f022d4a.tar.gz
nginx-8e1fbe61b69562d838aafda8d75798993f022d4a.zip
nginx-0.0.1-2003-07-18-18:44:05 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c7
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;