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.3.25
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 @@ -761,7 +761,9 @@ extern "C++" {
761761/* * @deprecated */
762762#define ZEND_CGG_DIAGNOSTIC_IGNORED_END ZEND_DIAGNOSTIC_IGNORED_END
763763
764- #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
764+ #if defined(__cplusplus)
765+ # define ZEND_STATIC_ASSERT (c, m ) static_assert ((c), m)
766+ #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
765767# define ZEND_STATIC_ASSERT (c, m ) _Static_assert ((c), m)
766768#else
767769# define ZEND_STATIC_ASSERT (c, m )
You can’t perform that action at this time.
0 commit comments