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/core/ngx_file.h | |
parent | 9f6e8673f40f7532bf3059bda41e05b545520dd3 (diff) |
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/core/ngx_file.h')
-rw-r--r-- | src/core/ngx_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h index cff74cba1..320adc295 100644 --- a/src/core/ngx_file.h +++ b/src/core/ngx_file.h @@ -30,7 +30,7 @@ struct ngx_file_s { ngx_thread_task_t *thread_task; #endif -#if (NGX_HAVE_FILE_AIO) +#if (NGX_HAVE_FILE_AIO || NGX_COMPAT) ngx_event_aio_t *aio; #endif |