mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms
This commit is contained in:
parent
5473662c94
commit
b4123b94ff
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
|||
int
|
||||
ngx_nonblocking(ngx_socket_t s)
|
||||
{
|
||||
u_long nb;
|
||||
int nb;
|
||||
|
||||
nb = 1;
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ ngx_nonblocking(ngx_socket_t s)
|
|||
int
|
||||
ngx_blocking(ngx_socket_t s)
|
||||
{
|
||||
u_long nb;
|
||||
int nb;
|
||||
|
||||
nb = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue