From a82a43116a750e478d0d4be079a5fa5bac7e199b Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 2 Apr 2012 09:42:38 +0000 Subject: [PATCH] fix bug #61372 (undefined symbol: Z_ADDREF_P - possibly wrong dependency?) --- package.xml | 6 +++--- php_http.h | 2 +- php_http_api.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.xml b/package.xml index 31b71bf..1440438 100644 --- a/package.xml +++ b/package.xml @@ -28,9 +28,9 @@ support. Parallel requests are available for PHP 5 and greater. mike@php.net yes - 2012-03-08 + 2012-04-02 - 1.7.3 + 1.7.4 1.7.0 @@ -39,7 +39,7 @@ support. Parallel requests are available for PHP 5 and greater. BSD, revised diff --git a/php_http.h b/php_http.h index d4b00bb..0762c07 100644 --- a/php_http.h +++ b/php_http.h @@ -15,7 +15,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_HTTP_VERSION "1.7.3" +#define PHP_HTTP_VERSION "1.7.4" #ifdef HAVE_CONFIG_H # include "config.h" diff --git a/php_http_api.h b/php_http_api.h index 45efd6e..3a64350 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -257,7 +257,7 @@ static inline zval *_http_zset(int type, zval *z) #define http_zsep(t, z) _http_zsep_ex((t), (z), NULL) #define http_zsep_ex(t, z, p) _http_zsep_ex((t), (z), (p)) static inline zval *_http_zsep_ex(int type, zval *z, zval **p) { - Z_ADDREF_P(z); + ZVAL_ADDREF(z); if (Z_TYPE_P(z) != type) { switch (type) { case IS_NULL: convert_to_null_ex(&z); break; -- 2.30.2