mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
add sun4v,
style fix
This commit is contained in:
parent
6c5c4d0eec
commit
852cde4ccd
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue