cvs: pecl /http http_functions.c
| From: | Michael Wallner | Date: | Tue, 17 Oct 2006 19:17:46 +0000 |
| Subject: | cvs: pecl /http http_functions.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6499@lists.php.net to get a copy of this message | ||
mike Tue Oct 17 19:17:46 2006 UTC
Modified files:
/pecl/http http_functions.c
Log:
- fix build with PHP < 4.3.10
http://cvs.php.net/viewvc.cgi/pecl/http/http_functions.c?r1=1.153&r2=1.154&diff_format=u
Index: pecl/http/http_functions.c
diff -u pecl/http/http_functions.c:1.153 pecl/http/http_functions.c:1.154
--- pecl/http/http_functions.c:1.153 Mon Oct 2 11:48:37 2006
+++ pecl/http/http_functions.c Tue Oct 17 19:17:46 2006
@@ -10,7 +10,7 @@
+--------------------------------------------------------------------+
*/
-/* $Id: http_functions.c,v 1.153 2006/10/02 11:48:37 mike Exp $ */
+/* $Id: http_functions.c,v 1.154 2006/10/17 19:17:46 mike Exp $ */
#define HTTP_WANT_SAPI
#define HTTP_WANT_CURL
@@ -62,6 +62,10 @@
}
/* }}} */
+#if PHP_MAJOR_VERSION == 4 && PHP_MINOR_VERSION == 3 && PHP_PHP_RELEASE_VERSION
< 10
+# define php_url_parse_ex(u, l) php_url_parse(u)
+#endif
+
/* {{{ proto string http_build_url([mixed url[, mixed parts[, int flags = HTTP_URL_REPLACE[, array
&new_url]]]])
*
* Build an URL.