]> git.kaiwu.me - nginx.git/commitdiff
pclcf->regex_locations are used with PCRE only
authorIgor Sysoev <igor@sysoev.ru>
Thu, 5 Mar 2009 08:24:17 +0000 (08:24 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 5 Mar 2009 08:24:17 +0000 (08:24 +0000)
src/http/ngx_http_core_module.h

index afceff9419609c60424677fab229f9791bf09105..98c276ef1b62324f6eac5c5e8e63d2831eb35f92 100644 (file)
@@ -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;