summaryrefslogtreecommitdiffhomepage
path: root/auto/types/uintptr_t
diff options
context:
space:
mode:
Diffstat (limited to 'auto/types/uintptr_t')
-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