From 2c0c193bdcfaa2e3c6b336da078f371e96fcec52 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 17 Oct 2006 19:17:46 +0000 Subject: [PATCH] - fix build with PHP < 4.3.10 --- http_functions.c | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.30.2