From 29cb4d8a090a78fe05c22b2295bb5e3fa5663fca Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 19 Aug 2011 11:35:37 +0000 Subject: [PATCH] - undefine CALLBACK (btw, generic names like that should be avoided, w/o prefix :) --- sapi/cli/php_http_parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sapi/cli/php_http_parser.c b/sapi/cli/php_http_parser.c index e58fba3410..13b9ea12bc 100644 --- a/sapi/cli/php_http_parser.c +++ b/sapi/cli/php_http_parser.c @@ -55,7 +55,9 @@ do { \ } \ } while (0) - +#ifdef PHP_WIN32 +# undef CALLBACK +#endif #define CALLBACK(FOR) \ do { \ CALLBACK_NOCLEAR(FOR); \ -- 2.50.1