Forward-port #1107

This commit is contained in:
crazywhalecc
2026-04-29 15:44:44 +08:00
parent e70f5252a1
commit 9ed2b18d06
2 changed files with 17 additions and 6 deletions

View File

@@ -22,8 +22,14 @@ class decimal extends PhpExtensionPackage
{
FileSystem::replaceFileStr(
$this->getSourceDir() . '/php_decimal.c',
'zend_module_entry decimal_module_entry',
'zend_module_entry php_decimal_module_entry'
[
'zend_module_entry decimal_module_entry',
'ZEND_GET_MODULE(decimal)',
],
[
'zend_module_entry php_decimal_module_entry',
'ZEND_GET_MODULE(php_decimal)',
]
);
}