diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-03 20:05:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-03 20:05:15 +0300 |
commit | c3471f2bb830cdab2f28df3f57048968a9332d78 (patch) | |
tree | ca8a3ffd1aaa5acd1bfebb0ef3c55f07c861ead6 | |
parent | 97568875d26a3df719381c195a50140ccdcbe01e (diff) |
Initialize Apache's module flags only if AP_MODULE_HAS_FLAGS macro is defined
-rw-r--r-- | web/apache/service.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web/apache/service.hxx b/web/apache/service.hxx index f5155ef..fca0ea2 100644 --- a/web/apache/service.hxx +++ b/web/apache/service.hxx @@ -55,8 +55,11 @@ namespace web nullptr, nullptr, nullptr, - ®ister_hooks<M>, - AP_MODULE_FLAG_NONE + ®ister_hooks<M> + +#ifdef AP_MODULE_HAS_FLAGS + , AP_MODULE_FLAG_NONE +#endif }, name_ (name), exemplar_ (exemplar) |