From: Sara Golemon Date: Thu, 29 Mar 2007 18:47:04 +0000 (+0000) Subject: Add missing #if check X-Git-Tag: php-5.2.2RC1~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52b07d18956e8bbe9bdf0494dcf32b99edc3bac4;p=php Add missing #if check --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 3daa38d7f9..019c13931c 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1214,6 +1214,7 @@ int main(int argc, char *argv[]) } break; } +#if PHP_FASTCGI /* if we're started on command line, check to see if we are being started as an 'external' fastcgi server by accepting a bindpath parameter. */ @@ -1222,6 +1223,7 @@ int main(int argc, char *argv[]) bindpath = strdup(php_optarg); } break; +#endif } }