diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-11-23 13:13:58 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-11-23 13:13:58 +0000 |
commit | 6956db069653311d2d14b3d3a0f4e59bdeda9ae2 (patch) | |
tree | 35825096b0c7c17cca2bab0dac01ca6b8a576843 /src/http/ngx_http_variables.c | |
parent | 0bd426def165c7200012a20439abc6abc8bffaa3 (diff) | |
download | nginx-6956db069653311d2d14b3d3a0f4e59bdeda9ae2.tar.gz nginx-6956db069653311d2d14b3d3a0f4e59bdeda9ae2.zip |
fix building without PCRE, the bug had been introduced in r3326
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r-- | src/http/ngx_http_variables.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index a2852b0dd..0231d6727 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -1666,6 +1666,8 @@ ngx_http_variable_pid(ngx_http_request_t *r, } +#if (NGX_PCRE) + static ngx_int_t ngx_http_variable_not_found(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data) @@ -1816,6 +1818,8 @@ ngx_http_regex_exec(ngx_http_request_t *r, ngx_http_regex_t *re, ngx_str_t *s) return NGX_OK; } +#endif + ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf) |