mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
- Fixed TSRM builds.
#- Thanks for the hint Steph.
This commit is contained in:
parent
7129e68436
commit
c52fda6aae
1 changed files with 2 additions and 2 deletions
|
@ -1776,7 +1776,7 @@ static zval * date_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC)
|
||||||
|
|
||||||
/* Helper function used to store the latest found warnings and errors while
|
/* Helper function used to store the latest found warnings and errors while
|
||||||
* parsing, from either strtotime or parse_from_format. */
|
* parsing, from either strtotime or parse_from_format. */
|
||||||
static void update_errors_warnings(timelib_error_container *last_errors)
|
static void update_errors_warnings(timelib_error_container *last_errors TSRMLS_DC)
|
||||||
{
|
{
|
||||||
if (DATEG(last_errors)) {
|
if (DATEG(last_errors)) {
|
||||||
timelib_error_container_dtor(DATEG(last_errors));
|
timelib_error_container_dtor(DATEG(last_errors));
|
||||||
|
@ -1805,7 +1805,7 @@ static void date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int
|
||||||
}
|
}
|
||||||
|
|
||||||
// update last errors and warnings
|
// update last errors and warnings
|
||||||
update_errors_warnings(err);
|
update_errors_warnings(err TSRMLS_CC);
|
||||||
|
|
||||||
if (timezone_object) {
|
if (timezone_object) {
|
||||||
php_timezone_obj *tzobj;
|
php_timezone_obj *tzobj;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue