summaryrefslogtreecommitdiff
path: root/include/http_config.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2017-09-22 12:31:54 +0000
committerYann Ylavic <ylavic@apache.org>2017-09-22 12:31:54 +0000
commit22b024abd86ba6d5c105bf6d1ab9618d53793ea3 (patch)
tree10357d8300625c0295e75af578aacac3b1d3f854 /include/http_config.h
parenta40e705b5e68c34ddc194b2d5f6ad555785f7d75 (diff)
downloadhttpd-22b024abd86ba6d5c105bf6d1ab9618d53793ea3.tar.gz
config: follow up to r1809302.
We need to check that the module itself is at the right version. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/http_config.h b/include/http_config.h
index 9adfcbf9a7..cfc0c3233c 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -333,8 +333,11 @@ struct cmd_parms_struct {
ap_directive_t *parent;
};
-#define AP_MODULE_HAS_FLAGS \
- AP_MODULE_MAGIC_AT_LEAST(20161018,7)
+#define AP_MODULE_FLAGS_MMN_MAJOR 20161018
+#define AP_MODULE_FLAGS_MMN_MINOR 7
+#define AP_MODULE_HAS_FLAGS(m) \
+ AP_MODULE_MAGIC_AT_LEAST(AP_MODULE_FLAGS_MMN_MAJOR, \
+ AP_MODULE_FLAGS_MMN_MINOR)
#if AP_MODULE_HAS_FLAGS
/**
* Flags associated with a module.