aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/apache/service.hxx7
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,
- &register_hooks<M>,
- AP_MODULE_FLAG_NONE
+ &register_hooks<M>
+
+#ifdef AP_MODULE_HAS_FLAGS
+ , AP_MODULE_FLAG_NONE
+#endif
},
name_ (name),
exemplar_ (exemplar)