summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-05 08:24:17 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-05 08:24:17 +0000
commit4b97b33336e9a42092b127a5511f06d386b044b1 (patch)
tree7841ea08cdf82d27afaf4f4f7c7b872c5c6852cd
parent72cdf92a918f2e88109a48db09aed1be05a5ef62 (diff)
downloadnginx-4b97b33336e9a42092b127a5511f06d386b044b1.tar.gz
nginx-4b97b33336e9a42092b127a5511f06d386b044b1.tar.bz2
pclcf->regex_locations are used with PCRE only
-rw-r--r--src/http/ngx_http_core_module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index afceff941..98c276ef1 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -289,7 +289,9 @@ struct ngx_http_core_loc_conf_s {
#endif
ngx_http_location_tree_node_t *static_locations;
+#if (NGX_PCRE)
ngx_http_core_loc_conf_t **regex_locations;
+#endif
/* pointer to the modules' loc_conf */
void **loc_conf;