comparison auto/types/sizeof @ 668:9fbf3ad94cbf NGINX_1_1_18

nginx 1.1.18 *) Change: keepalive connections are no longer disabled for Safari by default. *) Feature: the $connection_requests variable. *) Feature: $tcpinfo_rtt, $tcpinfo_rttvar, $tcpinfo_snd_cwnd and $tcpinfo_rcv_space variables. *) Feature: the "worker_cpu_affinity" directive now works on FreeBSD. *) Feature: the "xslt_param" and "xslt_string_param" directives. Thanks to Samuel Behan. *) Bugfix: in configure tests. Thanks to Piotr Sikora. *) Bugfix: in the ngx_http_xslt_filter_module. *) Bugfix: nginx could not be built on Debian GNU/Hurd.
author Igor Sysoev <http://sysoev.ru>
date Wed, 28 Mar 2012 00:00:00 +0400
parents d0f7a625f27c
children
comparison
equal deleted inserted replaced
667:e0eabdb2bad1 668:9fbf3ad94cbf
18 18
19 #include <sys/types.h> 19 #include <sys/types.h>
20 #include <sys/time.h> 20 #include <sys/time.h>
21 $NGX_INCLUDE_UNISTD_H 21 $NGX_INCLUDE_UNISTD_H
22 #include <signal.h> 22 #include <signal.h>
23 #include <stdio.h>
23 #include <sys/resource.h> 24 #include <sys/resource.h>
24 $NGX_INCLUDE_INTTYPES_H 25 $NGX_INCLUDE_INTTYPES_H
25 $NGX_INCLUDE_AUTO_CONFIG_H 26 $NGX_INCLUDE_AUTO_CONFIG_H
26 27
27 int main() { 28 int main() {
28 printf("%d", sizeof($ngx_type)); 29 printf("%d", (int) sizeof($ngx_type));
29 return 0; 30 return 0;
30 } 31 }
31 32
32 END 33 END
33 34