]> granicus.if.org Git - php/commitdiff
- fix windows build with php < 6
authorPierre Joye <pajoye@php.net>
Fri, 20 Oct 2006 19:11:58 +0000 (19:11 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 20 Oct 2006 19:11:58 +0000 (19:11 +0000)
- fix runtime error on other OS

ext/filter/logical_filters.c

index b1c0252d258e91bbae2717c94c915bf96f04c57f..b7c92e572621debd3fa2f64a1351471c90e6e4de 100644 (file)
 #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;                                                                                                        \