diff --git a/HISTORY b/HISTORY index 1a8deab..fd99931 100644 --- a/HISTORY +++ b/HISTORY @@ -1,7 +1,8 @@ -Version 5.12 2017-08-10 +Version 5.12 2017-10-16 * code refine for rare case * replace print format OFF_PRINTF_FORMAT to PRId64 + * php_ext fix zend_object_store_get_object call in php5.5 Version 5.11 2017-05-26 * bug fixed: file_offset has no effect when use trunk file diff --git a/php_client/fastdfs_client.c b/php_client/fastdfs_client.c index d48ed77..28c82e8 100644 --- a/php_client/fastdfs_client.c +++ b/php_client/fastdfs_client.c @@ -53,7 +53,7 @@ typedef struct #if PHP_MAJOR_VERSION < 7 -#define fdfs_get_object(obj) zend_object_store_get_object(obj) +#define fdfs_get_object(obj) zend_object_store_get_object(obj TSRMLS_CC) #else #define fdfs_get_object(obj) (void *)((char *)(Z_OBJ_P(obj)) - XtOffsetOf(php_fdfs_t, zo)) #endif