diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-07-18 14:44:05 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-07-18 14:44:05 +0000 |
commit | 8e1fbe61b69562d838aafda8d75798993f022d4a (patch) | |
tree | 62231a7769d67b79f11de63c079e05d93ee274ea /src/core/nginx.c | |
parent | 7f125081f4347118ba50066e6341e429b3a85c3c (diff) | |
download | nginx-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.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; |