File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ PHP NEWS
22|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33?? ??? ????, PHP 8.4.12
44
5+ - Core:
6+ . Fixed GH-19169 build issue with C++17 and ZEND_STATIC_ASSERT macro.
7+ (psumbera)
8+
59- Hash:
610 . Fix crash on clone failure. (nielsdos)
711
Original file line number Diff line number Diff line change @@ -785,7 +785,9 @@ extern "C++" {
785785/* * @deprecated */
786786#define ZEND_CGG_DIAGNOSTIC_IGNORED_END ZEND_DIAGNOSTIC_IGNORED_END
787787
788- #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
788+ #if defined(__cplusplus)
789+ # define ZEND_STATIC_ASSERT (c, m ) static_assert ((c), m)
790+ #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
789791# define ZEND_STATIC_ASSERT (c, m ) _Static_assert ((c), m)
790792#else
791793# define ZEND_STATIC_ASSERT (c, m )
You can’t perform that action at this time.
0 commit comments