<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix:

error: address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(bool) *' invalid)

https://github.com/php/php-src/issues/8881
https://github.com/php/php-src/pull/11931
--- a/Zend/zend_atomic.h.orig	2024-02-13 09:41:14.000000000 -0600
+++ b/Zend/zend_atomic.h	2024-03-03 17:16:17.000000000 -0600
@@ -23,7 +23,7 @@
 	((__GNUC__ == (x) &amp;&amp; __GNUC_MINOR__ &gt;= (y)) || (__GNUC__ &gt; (x)))
 
 /* Builtins are used to avoid library linkage */
-#if __has_feature(c_atomic) &amp;&amp; defined(__clang__)
+#if __has_feature(c_atomic) &amp;&amp; defined(__clang__) &amp;&amp; defined(__STDC_VERSION__) &amp;&amp; __STDC_VERSION__ &gt;= 201710L
 #define	HAVE_C11_ATOMICS 1
 #elif ZEND_GCC_PREREQ(4, 7)
 #define	HAVE_GNUC_ATOMICS 1
</pre></body></html>