add sun4v,

style fix
This commit is contained in:
Igor Sysoev 2006-10-06 13:02:23 +00:00
parent 6c5c4d0eec
commit 852cde4ccd
2 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,7 @@ case "$NGX_MACHINE" in
NGX_MACH_CACHE_LINE=64
;;
sun4u | sparc | sparc64)
sun4u | sun4v | sparc | sparc64)
have=NGX_ALIGNMENT value=16 . auto/define
# TODO
NGX_MACH_CACHE_LINE=64

View File

@ -352,7 +352,8 @@ ngx_add_inherited_sockets(ngx_cycle_t *cycle)
"using inherited sockets from \"%s\"", inherited);
if (ngx_array_init(&cycle->listening, cycle->pool, 10,
sizeof(ngx_listening_t)) == NGX_ERROR)
sizeof(ngx_listening_t))
== NGX_ERROR)
{
return NGX_ERROR;
}