comparison src/event/ngx_event.h @ 5998:ea58dfd07782

Events: simplified ngx_event_aio_t definition. No functional changes.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 03 Mar 2015 18:09:13 +0300
parents ccad84a174e0
children 466bd63b63d1
comparison
equal deleted inserted replaced
5997:c901f2764c27 5998:ea58dfd07782
174 174
175 ngx_fd_t fd; 175 ngx_fd_t fd;
176 176
177 #if (NGX_HAVE_EVENTFD) 177 #if (NGX_HAVE_EVENTFD)
178 int64_t res; 178 int64_t res;
179 #if (NGX_TEST_BUILD_EPOLL) 179 #endif
180 ngx_err_t err; 180
181 size_t nbytes; 181 #if !(NGX_HAVE_EVENTFD) || (NGX_TEST_BUILD_EPOLL)
182 #endif
183 #else
184 ngx_err_t err; 182 ngx_err_t err;
185 size_t nbytes; 183 size_t nbytes;
186 #endif 184 #endif
187 185
188 ngx_aiocb_t aiocb; 186 ngx_aiocb_t aiocb;