Skip to content

Commit 5665b32

Browse files
authored
Merge pull request #4089 from DataDog/glopes/fix-ssi-debug-8.4
fix debug ssi build in PHP 8.4
2 parents 56a3b00 + 21ab1aa commit 5665b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

loader/compat_php.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ZEND_API zval *ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key, z
1313
ZEND_API zval *ZEND_FASTCALL _zend_hash_update(HashTable *ht, zend_string *key, zval *pData) __attribute__((weak));
1414
ZEND_API zend_result ZEND_FASTCALL zend_hash_str_del(HashTable *ht, const char *str, size_t len) __attribute__((weak));
1515
ZEND_API zval* ZEND_FASTCALL zend_hash_str_find(const HashTable *ht, const char *key, size_t len) __attribute__((weak));
16-
ZEND_API void * __zend_malloc(size_t len) __attribute__((weak));
16+
extern __typeof__(__zend_malloc) __zend_malloc __attribute__((weak));
1717

1818
static bool ddloader_zstr_is_interned(int php_api_no, zend_string *key) {
1919
if (php_api_no <= 20170718) { // PHP 7.0 - 7.2

0 commit comments

Comments
 (0)