From: Pierre Joye Date: Fri, 20 Oct 2006 19:11:58 +0000 (+0000) Subject: - fix windows build with php < 6 X-Git-Tag: RELEASE_1_0_0RC1~1231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6de9489bf6c2bd50092229db8b2415672b4d0c28;p=php - fix windows build with php < 6 - fix runtime error on other OS --- 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; \