Mercurial > hg > nginx-vendor-1-0
view auto/types/uintptr_t @ 396:349057ecf4d5 NGINX_0_7_10
nginx 0.7.10
*) Bugfix: in the "addition_types", "charset_types", "gzip_types",
"ssi_types", "sub_filter_types", and "xslt_types" directives; the
bugs had appeared in 0.7.9.
*) Bugfix: of recursive error_page for 500 status code.
*) Bugfix: now the ngx_http_realip_module set address not for whole
keepalive connection, but for each request passed via the connection.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 13 Aug 2008 00:00:00 +0400 |
parents | f7cd062ee035 |
children | ad25218fd14b |
line wrap: on
line source
# Copyright (C) Igor Sysoev echo $ngx_n "checking for uintptr_t ...$ngx_c" echo >> $NGX_ERR echo "checking for uintptr_t" >> $NGX_ERR found=no cat << END > $NGX_AUTOTEST.c #include <sys/types.h> $NGX_INTTYPES_H int main() { uintptr_t i = 0; return 0; } END eval "$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c >> $NGX_ERR 2>&1" if [ -x $NGX_AUTOTEST ]; then echo " uintptr_t found" found=yes else echo $ngx_n " uintptr_t not found" $ngx_c fi rm $NGX_AUTOTEST* 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 intptr_t;" | sed -e 's/u//g' >> $NGX_AUTO_CONFIG_H fi