Skip to content

Commit 43c03c4

Browse files
committed
apply arnaud suggestion
1 parent 404f602 commit 43c03c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_portability.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,13 @@ char *alloca();
336336
# define ZEND_PRESERVE_NONE __attribute__((preserve_none))
337337
#endif
338338

339+
340+
#if !defined(__apple_build_version__) || (defined(__apple_build_version__) && __apple_build_version__ >= 17000404)
339341
#if __has_attribute(musttail)
340342
# define HAVE_MUSTTAIL
341343
# define ZEND_MUSTTAIL __attribute__((musttail))
342344
#endif
345+
#endif
343346

344347
#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(__APPLE__) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)) || __has_attribute(noreturn)
345348
# define HAVE_NORETURN

0 commit comments

Comments
 (0)