summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-12 17:54:02 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-12 22:02:12 +0200
commit56698afb6dd0ce4c6358c44ea254324e375cff18 (patch)
treeaa4a01dd79c525a4e0dcfd16a6dad76c083f4ba4 /sapi/cli/php_http_parser.c
parentf87743de9fc07084b8fec6e3a0a8f628ee6fa372 (diff)
downloadphp-git-56698afb6dd0ce4c6358c44ea254324e375cff18.tar.gz
Fix [-Wundef] warning in CLI SAPI
Diffstat (limited to 'sapi/cli/php_http_parser.c')
-rw-r--r--sapi/cli/php_http_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_http_parser.c b/sapi/cli/php_http_parser.c
index 63769c15ac..6d764b6c0d 100644
--- a/sapi/cli/php_http_parser.c
+++ b/sapi/cli/php_http_parser.c
@@ -244,7 +244,7 @@ enum flags
#define start_state (parser->type == PHP_HTTP_REQUEST ? s_start_req : s_start_res)
-#if HTTP_PARSER_STRICT
+#ifdef HTTP_PARSER_STRICT
# define STRICT_CHECK(cond) if (cond) goto error
# define NEW_MESSAGE() (http_should_keep_alive(parser) ? start_state : s_dead)
#else