Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  fix: indirect_return compilation warning
This commit is contained in:
George Peter Banyard 2023-01-10 15:23:35 +00:00
commit c936c02119
No known key found for this signature in database
GPG key ID: 3306078E3194AEBD

View file

@ -692,7 +692,7 @@ extern "C++" {
# define ZEND_VOIDP(ptr) (ptr) # define ZEND_VOIDP(ptr) (ptr)
#endif #endif
#if defined(__GNUC__) && ZEND_GCC_VERSION >= 9000 #if __has_attribute(__indirect_return__)
# define ZEND_INDIRECT_RETURN __attribute__((__indirect_return__)) # define ZEND_INDIRECT_RETURN __attribute__((__indirect_return__))
#else #else
# define ZEND_INDIRECT_RETURN # define ZEND_INDIRECT_RETURN