diff options
Diffstat (limited to 'auto')
-rw-r--r-- | auto/types/maxvalue | 6 | ||||
-rwxr-xr-x | auto/unix | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/auto/types/maxvalue b/auto/types/maxvalue new file mode 100644 index 000000000..91752a26d --- /dev/null +++ b/auto/types/maxvalue @@ -0,0 +1,6 @@ + +cat << END >> $NGX_AUTO_CONFIG_H + +#ifndef $ngx_type_max_value +#define $ngx_type_max_value $ngx_max_size +#endif @@ -46,6 +46,7 @@ CC_WARN=$CC_STRONG ngx_fmt_collect=no ngx_fmt_name=OFF_T_FMT; ngx_type="off_t"; . auto/types/sizeof +ngx_type_max_value=OFF_T_MAX_VALUE; . auto/types/maxvalue eval ngx_formats=\${ngx_${ngx_bytes}_fmt}; . auto/fmt/fmt ngx_fmt_name=TIME_T_FMT; ngx_type="time_t"; . auto/types/sizeof |