From 69061b73ef0e4fdb1063bff0383098449d313a52 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 17 Nov 2009 10:24:45 +0000 Subject: fix pcre allocation on Win32, the bug had been introduced in r3326 --- src/core/ngx_regex.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c index 18e3c26c5..984a28aa9 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -35,11 +35,9 @@ ngx_regex_malloc_init(ngx_pool_t *pool) return; } -#else +#endif ngx_pcre_pool = pool; - -#endif } @@ -55,11 +53,9 @@ ngx_regex_malloc_done(void) return; } -#else +#endif ngx_pcre_pool = NULL; - -#endif } -- cgit