]> granicus.if.org Git - php/commitdiff
Add missing #if check
authorSara Golemon <pollita@php.net>
Thu, 29 Mar 2007 18:47:04 +0000 (18:47 +0000)
committerSara Golemon <pollita@php.net>
Thu, 29 Mar 2007 18:47:04 +0000 (18:47 +0000)
sapi/cgi/cgi_main.c

index 3daa38d7f9c03e16258f37edfacb602dfe1ec47c..019c13931c81c8cf95a1cf4d91153452959b5733 100644 (file)
@@ -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
                }
 
        }