From: Michael Wallner Date: Tue, 17 Oct 2006 19:17:46 +0000 (+0000) Subject: - fix build with PHP < 4.3.10 X-Git-Tag: RELEASE_1_3_3~9 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=2c0c193bdcfaa2e3c6b336da078f371e96fcec52 - fix build with PHP < 4.3.10 --- diff --git a/http_functions.c b/http_functions.c index eb63337..b89d7fc 100644 --- a/http_functions.c +++ b/http_functions.c @@ -62,6 +62,10 @@ PHP_FUNCTION(http_date) } /* }}} */ +#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.