Skip to content

Commit 334059a

Browse files
committed
fix ZEND_ABSTRACT_ME_WITH_FLAGS undeclared
1 parent 95864c2 commit 334059a

File tree

3 files changed

+1233
-238
lines changed

3 files changed

+1233
-238
lines changed

console/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"require": {
3-
"matyhtf/swoole_framework": "^1.20"
3+
"matyhtf/swoole_framework": "^1.20",
4+
"nikic/php-parser": "4.9.0"
45
}
56
}

include/phpx.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ typedef unsigned char uchar;
6363
typedef int zend_result;
6464
#endif
6565

66+
#ifndef ZEND_ABSTRACT_ME_WITH_FLAGS
67+
#define ZEND_ABSTRACT_ME_WITH_FLAGS(classname, name, arg_info, flags) ZEND_RAW_FENTRY(#name, NULL, arg_info, flags)
68+
#endif
69+
6670
namespace php {
6771

6872
void error(int level, const char *format, ...);

0 commit comments

Comments
 (0)