We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f9caf commit e91d2c7Copy full SHA for e91d2c7
Zend/zend_portability.h
@@ -769,7 +769,7 @@ extern "C++" {
769
# define ZEND_INDIRECT_RETURN
770
#endif
771
772
-#if __has_attribute(nonstring) && defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 15
+#if __has_attribute(nonstring) && defined(__GNUC__) && ((!defined(__clang__) && __GNUC__ >= 15) || (defined(__clang_major__) && __clang_major__ >= 20))
773
# define ZEND_NONSTRING __attribute__((nonstring))
774
#else
775
# define ZEND_NONSTRING
0 commit comments