Skip to content

Commit 8ce4d24

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: NEWS NEWS Fix phpGH-13215 GCC 14 build
2 parents f83cdce + fae27cd commit 8ce4d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || (__GNUC__ > (x)))
2424

2525
/* Builtins are used to avoid library linkage */
26-
#if __has_feature(c_atomic)
26+
#if __has_feature(c_atomic) && defined(__clang__)
2727
#define HAVE_C11_ATOMICS 1
2828
#elif ZEND_GCC_PREREQ(4, 7)
2929
#define HAVE_GNUC_ATOMICS 1

0 commit comments

Comments
 (0)