summaryrefslogtreecommitdiffhomepage
path: root/auto/unix
diff options
context:
space:
mode:
Diffstat (limited to 'auto/unix')
-rwxr-xr-xauto/unix8
1 files changed, 5 insertions, 3 deletions
diff --git a/auto/unix b/auto/unix
index d6fc3730e..017f7bf6a 100755
--- a/auto/unix
+++ b/auto/unix
@@ -4,16 +4,18 @@ ngx_fmt_collect=yes
# C types
-ngx_type="int"; . auto/types/sizeof;
+ngx_type="int"; . auto/types/sizeof
ngx_formats="%d"; . auto/fmt/fmt
-ngx_type="long"; . auto/types/sizeof;
+ngx_type="long"; . auto/types/sizeof
ngx_formats="%ld"; . auto/fmt/fmt
-ngx_type="long long"; . auto/types/sizeof;
+ngx_type="long long"; . auto/types/sizeof
ngx_formats="%lld %qd"; . auto/fmt/fmt
ngx_type="void *"; . auto/types/sizeof; ngx_ptr_bytes=$ngx_bytes
+ngx_fmt_name=PTR_FMT;
+eval ngx_formats=\${ngx_${ngx_bytes}_fmt}; . auto/fmt/ptrfmt
# POSIX types