diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 18:44:17 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-10 18:44:17 +0300 |
| commit | 844c78556bc93343dd1c3c9236b5c16f4e2eac39 (patch) | |
| tree | b3649cec59d23ca71d1d169ca3c4cc46e3265eaa /src/event/ngx_event.h | |
| parent | 9f6e8673f40f7532bf3059bda41e05b545520dd3 (diff) | |
| download | nginx-844c78556bc93343dd1c3c9236b5c16f4e2eac39.tar.gz nginx-844c78556bc93343dd1c3c9236b5c16f4e2eac39.tar.bz2 | |
Modules compatibility: compatibility with NGX_HAVE_FILE_AIO.
With this change it is now possible to load modules compiled without
the "--with-file-aio" configure option into nginx binary compiled with it,
and vice versa, assuming both use the "--with-compat" option.
Diffstat (limited to 'src/event/ngx_event.h')
| -rw-r--r-- | src/event/ngx_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index f0b75af61..053bd16f8 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -152,7 +152,7 @@ struct ngx_event_aio_s { ngx_event_handler_pt handler; ngx_file_t *file; -#if (NGX_HAVE_AIO_SENDFILE) +#if (NGX_HAVE_AIO_SENDFILE || NGX_COMPAT) ssize_t (*preload_handler)(ngx_buf_t *file); #endif |
