File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ PHP NEWS
15
15
. Fixed bug GH-12102 (Incorrect compile error when using array access on TMP
16
16
value in function call). (ilutov)
17
17
. Fixed warning emitted when checking if a user stream is castable. (Girgias)
18
+ . Fixed bug GH-12123 (Compile error on MacOS with C++ extension when using
19
+ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX). (kocsismate)
18
20
19
21
- FPM:
20
22
. Fixed GH-12077 (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).
Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ typedef struct {
269
269
#define ZEND_TYPE_ALLOW_NULL (t ) \
270
270
(((t).type_mask & _ZEND_TYPE_NULLABLE_BIT) != 0)
271
271
272
- #ifdef __cplusplus
272
+ #if defined( __cplusplus ) && defined( _MSC_VER )
273
273
# define _ZEND_TYPE_PREFIX zend_type
274
274
#else
275
275
/* FIXME: We could add (zend_type) here at some point but this breaks in MSVC because
You can’t perform that action at this time.
0 commit comments