Skip to content

Commit 8e528b2

Browse files
committed
fix inconsistent dll linkage
1 parent 545b364 commit 8e528b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sapi/phpdbg/phpdbg_parser.y

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ static int yyerror(const char *msg);
2323

2424
ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
2525

26+
#ifdef _MSC_VER
27+
#define YYMALLOC malloc
28+
#define YYFREE free
29+
#endif
30+
2631
%}
2732

2833
%pure-parser

0 commit comments

Comments
 (0)