From 8e528b2792f7cfbcd2cdbd6de7f158fdc82ed89f Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 2 Aug 2015 16:26:48 +0200 Subject: [PATCH] fix inconsistent dll linkage --- sapi/phpdbg/phpdbg_parser.y | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sapi/phpdbg/phpdbg_parser.y b/sapi/phpdbg/phpdbg_parser.y index 8b3ab27f85..f25749ceed 100644 --- a/sapi/phpdbg/phpdbg_parser.y +++ b/sapi/phpdbg/phpdbg_parser.y @@ -23,6 +23,11 @@ static int yyerror(const char *msg); ZEND_EXTERN_MODULE_GLOBALS(phpdbg); +#ifdef _MSC_VER +#define YYMALLOC malloc +#define YYFREE free +#endif + %} %pure-parser -- 2.50.1