pollita         Thu Mar 29 18:47:04 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  Add missing #if check
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.31&r2=1.267.2.15.2.32&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.31 
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.32
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.31 Wed Mar 28 15:39:22 2007
+++ php-src/sapi/cgi/cgi_main.c Thu Mar 29 18:47:04 2007
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.267.2.15.2.31 2007/03/28 15:39:22 dmitry Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.32 2007/03/29 18:47:04 pollita Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -1214,6 +1214,7 @@
                                }
                                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 @@
                                        bindpath = strdup(php_optarg);
                                }
                                break;
+#endif
                }
 
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to