Skip to content

Commit

Permalink
fix: indirect_return compilation warning
Browse files Browse the repository at this point in the history
Closes GH-10274

Signed-off-by: George Peter Banyard <girgias@php.net>
  • Loading branch information
dunglas authored and Girgias committed Jan 10, 2023
1 parent d12ba11 commit 55514a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_portability.h
Expand Up @@ -679,7 +679,7 @@ extern "C++" {
# define ZEND_VOIDP(ptr) (ptr)
#endif

#if defined(__GNUC__) && ZEND_GCC_VERSION >= 9000
#if __has_attribute(__indirect_return__)
# define ZEND_INDIRECT_RETURN __attribute__((__indirect_return__))
#else
# define ZEND_INDIRECT_RETURN
Expand Down

0 comments on commit 55514a1

Please sign in to comment.