]> granicus.if.org Git - php/commitdiff
fix inconsistent dll linkage
authorAnatol Belski <ab@php.net>
Sun, 2 Aug 2015 14:26:48 +0000 (16:26 +0200)
committerAnatol Belski <ab@php.net>
Sun, 2 Aug 2015 14:26:48 +0000 (16:26 +0200)
sapi/phpdbg/phpdbg_parser.y

index 8b3ab27f85e43b09830dfb184646b12d5d6b7da3..f25749ceed8387791ed181ab8d9615b475fd16b9 100644 (file)
@@ -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