Skip to content

Commit be9adc4

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Fix build with Valgrind without I_REPLACE_SONAME_FNNAME_ZU symbol
2 parents 5b71b66 + b388e95 commit be9adc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ ZEND_API void zend_interned_strings_switch_storage(bool request)
366366

367367
/* Even if we don't build with valgrind support, include the symbol so that valgrind available
368368
* only at runtime will not result in false positives. */
369-
#ifndef HAVE_VALGRIND
369+
#ifndef I_REPLACE_SONAME_FNNAME_ZU
370370
# define I_REPLACE_SONAME_FNNAME_ZU(soname, fnname) _vgr00000ZU_ ## soname ## _ ## fnname
371371
#endif
372372

0 commit comments

Comments
 (0)