X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=b89d7fcefe55e24f1da54015994432f2053efaa2;hp=eb63337194cdb88604e111ff36a4b2c611c27204;hb=2c0c193bdcfaa2e3c6b336da078f371e96fcec52;hpb=d02141d8a062b2d7665e489ead77194f9343f09c 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.