Skip to content

Commit d670e13

Browse files
committed
Fix __SANITIZE_ADDRESS__ redeclaration warning
1 parent 3b5321d commit d670e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132

133133
#if defined(HAVE_LIBDL) && !defined(ZEND_WIN32)
134134

135-
# if __has_feature(address_sanitizer)
135+
# if __has_feature(address_sanitizer) && !defined(__SANITIZE_ADDRESS__)
136136
# define __SANITIZE_ADDRESS__
137137
# endif
138138

0 commit comments

Comments
 (0)