Mercurial > hg > nginx-quic
changeset 947:bb748b37cabd
add comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 24 Dec 2006 13:11:41 +0000 |
parents | 756e8a5b1f78 |
children | 12077affd903 |
files | src/core/nginx.c |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -236,21 +236,22 @@ main(int argc, char *const *argv) ngx_write_fd(ngx_stderr_fileno, "nginx version: " NGINX_VER CRLF, sizeof("nginx version: " NGINX_VER CRLF) - 1); -#ifndef __WATCOMC__ - if (ngx_show_configure) { #ifdef NGX_COMPILER ngx_write_fd(ngx_stderr_fileno, "built by " NGX_COMPILER CRLF, sizeof("built by " NGX_COMPILER CRLF) - 1); #endif +#ifndef __WATCOMC__ + + /* OpenWatcomC could not build the long NGX_CONFIGURE string */ + ngx_write_fd(ngx_stderr_fileno, - "configure arguments " NGX_CONFIGURE CRLF, - sizeof("configure arguments " NGX_CONFIGURE CRLF) - 1); + "configure arguments: " NGX_CONFIGURE CRLF, + sizeof("configure arguments :" NGX_CONFIGURE CRLF) - 1); +#endif } -#endif - if (!ngx_test_config) { return 0; }