From: Michael Wallner Date: Fri, 30 Sep 2005 08:04:35 +0000 (+0000) Subject: - fix PHP5 build X-Git-Tag: RELEASE_0_14_1~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=fcf85b3a8cb603e8673058ad6f7c845e8c378060;p=m6w6%2Fext-http - fix PHP5 build --- diff --git a/http_message_object.c b/http_message_object.c index 058f963..95aae5f 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -229,7 +229,7 @@ static zval *_http_message_object_read_prop(zval *object, zval *member, int type http_message *msg = obj->message; zval *return_value; #ifdef WONKY - zend_hash_value h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member)+1); + ulong h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member)+1); #else zend_property_info *pinfo = zend_get_property_info(obj->zo.ce, member, 1 TSRMLS_CC); diff --git a/http_request_method_api.c b/http_request_method_api.c index 8c18129..39c9ace 100644 --- a/http_request_method_api.c +++ b/http_request_method_api.c @@ -28,6 +28,7 @@ # include "php_http_request_object.h" #endif +#include "missing.h" #include "phpstr/phpstr.h" ZEND_EXTERN_MODULE_GLOBALS(http); diff --git a/package2.xml b/package2.xml index e46d871..7247bee 100644 --- a/package2.xml +++ b/package2.xml @@ -30,7 +30,7 @@ 2005-00-00 - 0.14.0 + 0.14.1dev 0.14.0 diff --git a/php_http.h b/php_http.h index db41f35..870eb61 100644 --- a/php_http.h +++ b/php_http.h @@ -18,7 +18,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define HTTP_PEXT_VERSION "0.14.0" +#define HTTP_PEXT_VERSION "0.14.1dev" /* make compile on Win32 */ #ifdef HTTP_HAVE_CURL