svn: /pecl/sphinx/trunk/ sphinx.c
| From: | Antony Dovgal | Date: | Tue, 22 Sep 2009 07:58:15 +0000 |
| Subject: | svn: /pecl/sphinx/trunk/ sphinx.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-12913@lists.php.net to get a copy of this message | ||
tony2001 Tue, 22 Sep 2009 07:58:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288553
Log:
fix build failure with PHP 5.1.x
Changed paths:
U pecl/sphinx/trunk/sphinx.c
Modified: pecl/sphinx/trunk/sphinx.c
===================================================================
--- pecl/sphinx/trunk/sphinx.c 2009-09-22 07:57:55 UTC (rev 288552)
+++ pecl/sphinx/trunk/sphinx.c 2009-09-22 07:58:15 UTC (rev 288553)
@@ -47,6 +47,10 @@
ZEND_GET_MODULE(sphinx)
#endif
+#ifndef E_RECOVERABLE_ERROR
+#define E_RECOVERABLE_ERROR E_WARNING
+#endif
+
#define SPHINX_CONST(name) REGISTER_LONG_CONSTANT(#name, name, CONST_CS | CONST_PERSISTENT)
static void php_sphinx_client_obj_dtor(void *object TSRMLS_DC) /* {{{ */