diff src/core/nginx.c @ 947:bb748b37cabd

add comment
author Igor Sysoev <igor@sysoev.ru>
date Sun, 24 Dec 2006 13:11:41 +0000
parents 3a126fca07fc
children d1d8cde9aab9
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;
         }