Skip to content

Commit a6c8db0

Browse files
committed
zend_compile: Attempt to fix the C++ build
1 parent fe28197 commit a6c8db0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_compile.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,14 +498,14 @@ typedef struct _zend_class_constant {
498498
#define ZEND_CLASS_CONST_FLAGS(c) Z_CONSTANT_FLAGS((c)->value)
499499

500500
#if __STDC_VERSION__ >= 202311L
501-
enum zend_function_type: uint8_t {
501+
enum _zend_function_type: uint8_t {
502502
ZEND_INTERNAL_FUNCTION = 1,
503503
ZEND_USER_FUNCTION = 2,
504504
ZEND_EVAL_CODE = 4,
505505
};
506-
typedef enum zend_function_type zend_function_type;
506+
typedef enum _zend_function_type zend_function_type;
507507
#else
508-
enum zend_function_type {
508+
enum _zend_function_type {
509509
ZEND_INTERNAL_FUNCTION = 1,
510510
ZEND_USER_FUNCTION = 2,
511511
ZEND_EVAL_CODE = 4,

0 commit comments

Comments
 (0)