mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Events: simplified ngx_event_aio_t definition.
No functional changes.
This commit is contained in:
parent
ea881578a2
commit
b384247262
@ -176,11 +176,9 @@ struct ngx_event_aio_s {
|
|||||||
|
|
||||||
#if (NGX_HAVE_EVENTFD)
|
#if (NGX_HAVE_EVENTFD)
|
||||||
int64_t res;
|
int64_t res;
|
||||||
#if (NGX_TEST_BUILD_EPOLL)
|
|
||||||
ngx_err_t err;
|
|
||||||
size_t nbytes;
|
|
||||||
#endif
|
#endif
|
||||||
#else
|
|
||||||
|
#if !(NGX_HAVE_EVENTFD) || (NGX_TEST_BUILD_EPOLL)
|
||||||
ngx_err_t err;
|
ngx_err_t err;
|
||||||
size_t nbytes;
|
size_t nbytes;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user