summaryrefslogtreecommitdiff
path: root/src/mod_redirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_redirect.c')
-rw-r--r--src/mod_redirect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_redirect.c b/src/mod_redirect.c
index 4812e90d..6e264751 100644
--- a/src/mod_redirect.c
+++ b/src/mod_redirect.c
@@ -129,7 +129,7 @@ SETDEFAULTS_FUNC(mod_redirect_set_defaults) {
return HANDLER_GO_ON;
}
-#ifdef HAVE_PCRE_H
+#if defined(WITH_PCRE)
static int mod_redirect_patch_connection(server *srv, connection *con, plugin_data *p) {
size_t i, j;
plugin_config *s = p->config_storage[0];
@@ -163,7 +163,7 @@ static int mod_redirect_patch_connection(server *srv, connection *con, plugin_da
}
#endif
static handler_t mod_redirect_uri_handler(server *srv, connection *con, void *p_data) {
-#ifdef HAVE_PCRE_H
+#if defined(WITH_PCRE)
plugin_data *p = p_data;
size_t i;