Skip to content

Commit 55514a1

Browse files
dunglasGirgias
authored andcommitted
fix: indirect_return compilation warning
Closes GH-10274 Signed-off-by: George Peter Banyard <[email protected]>
1 parent d12ba11 commit 55514a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ extern "C++" {
679679
# define ZEND_VOIDP(ptr) (ptr)
680680
#endif
681681

682-
#if defined(__GNUC__) && ZEND_GCC_VERSION >= 9000
682+
#if __has_attribute(__indirect_return__)
683683
# define ZEND_INDIRECT_RETURN __attribute__((__indirect_return__))
684684
#else
685685
# define ZEND_INDIRECT_RETURN

0 commit comments

Comments
 (0)