summaryrefslogtreecommitdiffhomepage
path: root/auto/unix
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-03-17 00:24:34 +0300
committerRuslan Ermilov <ru@nginx.com>2015-03-17 00:24:34 +0300
commit44a2b97bd2773dc679ebce32eaf3c6f4f665f36c (patch)
tree18664ebf3ab9605c3b1e2f14cb4b60fe9d6419aa /auto/unix
parent0071fbb9e6685b76a4865f460cb674020dfdf8ec (diff)
downloadnginx-44a2b97bd2773dc679ebce32eaf3c6f4f665f36c.tar.gz
nginx-44a2b97bd2773dc679ebce32eaf3c6f4f665f36c.tar.bz2
Core: expose maximum values of time_t and ngx_int_t.
These are needed to detect overflows.
Diffstat (limited to '')
-rwxr-xr-xauto/unix1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/unix b/auto/unix
index 10fd3d293..dfeb84832 100755
--- a/auto/unix
+++ b/auto/unix
@@ -489,6 +489,7 @@ ngx_param=NGX_OFF_T_LEN; ngx_value=$ngx_max_len; . auto/types/value
ngx_type="time_t"; . auto/types/sizeof
ngx_param=NGX_TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value
ngx_param=NGX_TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value
+ngx_param=NGX_MAX_TIME_T_VALUE; ngx_value=$ngx_max_value; . auto/types/value
# syscalls, libc calls and some features