mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: fix: indirect_return compilation warning
This commit is contained in:
commit
c936c02119
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue