changeset 2546:8b9861c2a32f

pclcf->regex_locations are used with PCRE only
author Igor Sysoev <igor@sysoev.ru>
date Thu, 05 Mar 2009 08:24:17 +0000
parents 2ed1343fa3dc
children 912ce4113f21
files src/http/ngx_http_core_module.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;