cvs: pecl /filter logical_filters.c
| From: | Pierre-Alain Joye | Date: | Fri, 20 Oct 2006 19:11:58 +0000 |
| Subject: | cvs: pecl /filter logical_filters.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6526@lists.php.net to get a copy of this message | ||
pajoye Fri Oct 20 19:11:58 2006 UTC
Modified files:
/pecl/filter logical_filters.c
Log:
- fix windows build with php < 6
- fix runtime error on other OS
http://cvs.php.net/viewvc.cgi/pecl/filter/logical_filters.c?r1=1.13&r2=1.14&diff_format=u
Index: pecl/filter/logical_filters.c
diff -u pecl/filter/logical_filters.c:1.13 pecl/filter/logical_filters.c:1.14
--- pecl/filter/logical_filters.c:1.13 Tue Oct 17 15:26:42 2006
+++ pecl/filter/logical_filters.c Fri Oct 20 19:11:58 2006
@@ -17,13 +17,17 @@
+----------------------------------------------------------------------+
*/
-/* $Id: logical_filters.c,v 1.13 2006/10/17 15:26:42 iliaa Exp $ */
+/* $Id: logical_filters.c,v 1.14 2006/10/20 19:11:58 pajoye Exp $ */
#include "php_filter.h"
#include "filter_private.h"
#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;
\