diff src/http/ngx_http_core_module.h @ 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 2749e4bf6af0
children 163114282d2c
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;