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
2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? ????, PHP 8.3.25
4
4
5
+ - Core:
6
+ . Fixed GH-19169 build issue with C++17 and ZEND_STATIC_ASSERT macro.
7
+ (psumbera)
8
+
5
9
- Hash:
6
10
. Fix crash on clone failure. (nielsdos)
7
11
Original file line number Diff line number Diff line change @@ -761,7 +761,9 @@ extern "C++" {
761
761
/* * @deprecated */
762
762
#define ZEND_CGG_DIAGNOSTIC_IGNORED_END ZEND_DIAGNOSTIC_IGNORED_END
763
763
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 */
765
767
# define ZEND_STATIC_ASSERT (c, m ) _Static_assert((c), m)
766
768
#else
767
769
# define ZEND_STATIC_ASSERT (c, m )
You can’t perform that action at this time.
0 commit comments