summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-08-19 11:35:37 +0000
committerPierre Joye <pajoye@php.net>2011-08-19 11:35:37 +0000
commit29cb4d8a090a78fe05c22b2295bb5e3fa5663fca (patch)
treeadb6442c90a5d5e8e10d69b5a3e7d7f1c95ccdcb /sapi/cli/php_http_parser.c
parent6a0910075d0d85b1b834406341060d5b0c223e07 (diff)
downloadphp-git-29cb4d8a090a78fe05c22b2295bb5e3fa5663fca.tar.gz
- undefine CALLBACK (btw, generic names like that should be avoided, w/o prefix :)
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); \