mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 03:17:17 +08:00
HP/UX uses EWOULDBLOCK instead of EAGAIN
This commit is contained in:
parent
0cb0c67e3a
commit
497c13774d
@ -30,7 +30,6 @@ typedef int ngx_err_t;
|
||||
#define NGX_EINVAL EINVAL
|
||||
#define NGX_ENOSPC ENOSPC
|
||||
#define NGX_EPIPE EPIPE
|
||||
#define NGX_EAGAIN EAGAIN
|
||||
#define NGX_EINPROGRESS EINPROGRESS
|
||||
#define NGX_EADDRINUSE EADDRINUSE
|
||||
#define NGX_ECONNABORTED ECONNABORTED
|
||||
@ -48,6 +47,11 @@ typedef int ngx_err_t;
|
||||
#define NGX_EILSEQ EILSEQ
|
||||
#define NGX_ENOMOREFILES 0
|
||||
|
||||
#if (__hpux__)
|
||||
#define NGX_EAGAIN EWOULDBLOCK
|
||||
#else
|
||||
#define NGX_EAGAIN EAGAIN
|
||||
#endif
|
||||
|
||||
|
||||
#define ngx_errno errno
|
||||
|
Loading…
Reference in New Issue
Block a user