mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed ZTS build
This commit is contained in:
parent
6059ecee3a
commit
ba8f0615e1
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static void copy_zend_constant(zval *zv)
|
|||
{
|
||||
zend_constant *c = Z_PTR_P(zv);
|
||||
|
||||
ZEND_ASSERT(c->flags & CONST_PERSISTENT);
|
||||
ZEND_ASSERT(ZEND_CONSTANT_FLAGS(c) & CONST_PERSISTENT);
|
||||
Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), 1);
|
||||
memcpy(Z_PTR_P(zv), c, sizeof(zend_constant));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue