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_module.h | |
parent | 9f6e8673f40f7532bf3059bda41e05b545520dd3 (diff) | |
download | nginx-844c78556bc93343dd1c3c9236b5c16f4e2eac39.tar.gz nginx-844c78556bc93343dd1c3c9236b5c16f4e2eac39.zip |
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_module.h')
-rw-r--r-- | src/core/ngx_module.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h index 626481d8a..4d0db44c6 100644 --- a/src/core/ngx_module.h +++ b/src/core/ngx_module.h @@ -35,13 +35,13 @@ #define NGX_MODULE_SIGNATURE_2 "0" #endif -#if (NGX_HAVE_FILE_AIO) +#if (NGX_HAVE_FILE_AIO || NGX_COMPAT) #define NGX_MODULE_SIGNATURE_3 "1" #else #define NGX_MODULE_SIGNATURE_3 "0" #endif -#if (NGX_HAVE_AIO_SENDFILE) +#if (NGX_HAVE_AIO_SENDFILE || NGX_COMPAT) #define NGX_MODULE_SIGNATURE_4 "1" #else #define NGX_MODULE_SIGNATURE_4 "0" |