Skip to content

Commit

Permalink
Fix GH-13215 GCC 14 build
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jan 22, 2024
1 parent b45e7a6 commit 7252660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_atomic.h
Expand Up @@ -23,7 +23,7 @@
((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || (__GNUC__ > (x)))

/* Builtins are used to avoid library linkage */
#if __has_feature(c_atomic)
#if __has_feature(c_atomic) && defined(__clang__)
#define HAVE_C11_ATOMICS 1
#elif ZEND_GCC_PREREQ(4, 7)
#define HAVE_GNUC_ATOMICS 1
Expand Down

1 comment on commit 7252660

@thesamesam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@remicollet Could you check out #12821? There's a more full fix there.

Please sign in to comment.