com php-src: fix inconsistent dll linkage: sapi/phpdbg/phpdbg _parser.y
| From: | Anatol Belski | Date: | Sun, 02 Aug 2015 14:26:48 +0000 |
| Subject: | com php-src: fix inconsistent dll linkage: sapi/phpdbg/phpdbg _parser.y | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88272@lists.php.net to get a copy of this message | ||
Commit: 8e528b2792f7cfbcd2cdbd6de7f158fdc82ed89f
Author: Anatol Belski <ab@php.net> Sun, 2 Aug 2015 16:26:48 +0200
Parents: 545b364d560b9550f853bd8dd5ab1641225a03c2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e528b2792f7cfbcd2cdbd6de7f158fdc82ed89f
Log:
fix inconsistent dll linkage
Changed paths:
M sapi/phpdbg/phpdbg_parser.y
Diff:
diff --git a/sapi/phpdbg/phpdbg_parser.y b/sapi/phpdbg/phpdbg_parser.y
index 8b3ab27..f25749c 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