comparison src/core/ngx_file.h @ 6734:0c572ed91b36

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 10 Oct 2016 18:44:17 +0300
parents adc2414856b1
children
comparison
equal deleted inserted replaced
6733:adc2414856b1 6734:0c572ed91b36
28 ngx_file_t *file); 28 ngx_file_t *file);
29 void *thread_ctx; 29 void *thread_ctx;
30 ngx_thread_task_t *thread_task; 30 ngx_thread_task_t *thread_task;
31 #endif 31 #endif
32 32
33 #if (NGX_HAVE_FILE_AIO) 33 #if (NGX_HAVE_FILE_AIO || NGX_COMPAT)
34 ngx_event_aio_t *aio; 34 ngx_event_aio_t *aio;
35 #endif 35 #endif
36 36
37 unsigned valid_info:1; 37 unsigned valid_info:1;
38 unsigned directio:1; 38 unsigned directio:1;