summaryrefslogtreecommitdiff
path: root/auto/types
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-29 18:24:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-29 18:24:53 +0000
commit83a6851b28378863755085c85f0eb6dffcfb17a8 (patch)
treecd767d3672a78898f0b226c3e9d8d9eeaafbc1cc /auto/types
parent8889b65711cc93dfdbbd570384fe2e39391cc94e (diff)
downloadnginx-83a6851b28378863755085c85f0eb6dffcfb17a8.tar.gz
make 64-bit ngx_int_t on 64-bit platforms
Diffstat (limited to 'auto/types')
-rw-r--r--auto/types/uintptr_t3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/types/uintptr_t b/auto/types/uintptr_t
index e7d8d5ca0..55024b820 100644
--- a/auto/types/uintptr_t
+++ b/auto/types/uintptr_t
@@ -36,5 +36,6 @@ if [ $found = no ]; then
found="uint`expr 8 \* $ngx_ptr_size`_t"
echo ", $found used"
- echo "typedef $found uintptr_t;" >> $NGX_AUTO_CONFIG_H
+ echo "typedef $found uintptr_t;" >> $NGX_AUTO_CONFIG_H
+ echo "typedef $found intptr_t;" | sed -e 's/u//g' >> $NGX_AUTO_CONFIG_H
fi