summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/php_http_parser.c')
-rw-r--r--sapi/cli/php_http_parser.c4
1 files changed, 3 insertions, 1 deletions
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); \