diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-10-07 13:30:52 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-10-07 13:30:52 +0000 |
commit | 208eed22101e987a370036fa3851ce81c088c599 (patch) | |
tree | 40f2aa55bb0415eef08415373d380577eb18561f /src/core/ngx_core.h | |
parent | 12b7a12a2d2cbf4a98a23c2d6c0c06ff588d2d70 (diff) | |
download | nginx-release-0.3.0.tar.gz nginx-release-0.3.0.zip |
nginx-0.3.0-RELEASE importrelease-0.3.0
*) Change: the 10-days live time limit of worker process was
eliminated. The limit was introduced because of millisecond timers
overflow.
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r-- | src/core/ngx_core.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index a32733996..27058bfc2 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -36,6 +36,7 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); #include <ngx_atomic.h> +#include <ngx_rbtree.h> #include <ngx_time.h> #include <ngx_socket.h> #include <ngx_errno.h> @@ -59,7 +60,6 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); #if (NGX_PCRE) #include <ngx_regex.h> #endif -#include <ngx_rbtree.h> #include <ngx_radix_tree.h> #include <ngx_times.h> #include <ngx_inet.h> @@ -81,4 +81,7 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); #define CRLF "\x0d\x0a" +#define ngx_abs(value) (((value) >= 0) ? (value) : - (value)) + + #endif /* _NGX_CORE_H_INCLUDED_ */ |