mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
zend: ZEND_NONSTRING for clang >= 20 support (#19193)
This commit is contained in:
parent
d7f9caf37c
commit
e91d2c719f
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ extern "C++" {
|
|||
# define ZEND_INDIRECT_RETURN
|
||||
#endif
|
||||
|
||||
#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))
|
||||
# define ZEND_NONSTRING __attribute__((nonstring))
|
||||
#else
|
||||
# define ZEND_NONSTRING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue