From: Michael Wallner Date: Sun, 12 Mar 2006 18:05:20 +0000 (+0000) Subject: - fix php-4 build X-Git-Tag: RELEASE_1_0_0RC1~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a5a48e24bce12e3b1a21763df927550f4cbc29e9;p=m6w6%2Fext-http - fix php-4 build --- diff --git a/http.c b/http.c index 730bf4b..d514b38 100644 --- a/http.c +++ b/http.c @@ -71,7 +71,7 @@ zend_function_entry http_functions[] = { PHP_FE(http_build_url, http_arg_pass_ref_4) PHP_FE(http_build_str, NULL) #ifndef ZEND_ENGINE_2 - PHP_FALIAS(http_build_query, http_build_str) + PHP_FALIAS(http_build_query, http_build_str, NULL) #endif PHP_FE(http_negotiate_language, http_arg_pass_ref_2) PHP_FE(http_negotiate_charset, http_arg_pass_ref_2) diff --git a/missing.h b/missing.h index da5b314..2a93ca7 100644 --- a/missing.h +++ b/missing.h @@ -17,6 +17,10 @@ #include "php_version.h" +#ifndef pemalloc_rel +# define pemalloc_rel(size, persistent) ((persistent)?malloc(size):emalloc_rel(size)) +#endif + #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0) # define WONKY #endif diff --git a/package2.xml b/package2.xml index a62cff8..407d42c 100644 --- a/package2.xml +++ b/package2.xml @@ -48,6 +48,7 @@ HttpResponse