We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6487049 + 95a8395 commit b56b8d0Copy full SHA for b56b8d0
Zend/zend_portability.h
@@ -336,9 +336,12 @@ char *alloca();
336
# define ZEND_PRESERVE_NONE __attribute__((preserve_none))
337
#endif
338
339
-#if __has_attribute(musttail)
340
-# define HAVE_MUSTTAIL
341
-# define ZEND_MUSTTAIL __attribute__((musttail))
+
+#if !defined(__apple_build_version__) || (defined(__apple_build_version__) && __apple_build_version__ >= 17000404)
+# if __has_attribute(musttail)
342
+# define HAVE_MUSTTAIL
343
+# define ZEND_MUSTTAIL __attribute__((musttail))
344
+# endif
345
346
347
#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(__APPLE__) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)) || __has_attribute(noreturn)
0 commit comments