mirror of
https://github.com/nginx/nginx.git
synced 2024-11-29 12:14:27 -06:00
Some older OSes (notably FreeBSD 4.x) did not have %zu
format specifier, so revert to using %d.
This commit is contained in:
parent
4489fa8893
commit
c2afb66e88
@ -26,7 +26,7 @@ $NGX_INCLUDE_INTTYPES_H
|
||||
$NGX_INCLUDE_AUTO_CONFIG_H
|
||||
|
||||
int main() {
|
||||
printf("%zu", sizeof($ngx_type));
|
||||
printf("%d", (int) sizeof($ngx_type));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user