From 6de9489bf6c2bd50092229db8b2415672b4d0c28 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 20 Oct 2006 19:11:58 +0000 Subject: [PATCH] - fix windows build with php < 6 - fix runtime error on other OS --- ext/filter/logical_filters.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/filter/logical_filters.c b/ext/filter/logical_filters.c index b1c0252d25..b7c92e5726 100644 --- a/ext/filter/logical_filters.c +++ b/ext/filter/logical_filters.c @@ -24,6 +24,10 @@ #include "ext/standard/url.h" #include "ext/pcre/php_pcre.h" +#if PHP_MAJOR_VERSION <= 6 +#define zend_ascii_hash_find(hash, name, sizeof_name, val) zend_hash_find(hash, name, sizeof_name, val) +#endif + /* {{{ FETCH_LONG_OPTION(var_name, option_name) */ #define FETCH_LONG_OPTION(var_name, option_name) \ var_name = 0; \ -- 2.50.1