tony2001 Mon Jun 19 11:38:51 2006 UTC Modified files: /php-src/sapi/cgi cgi_main.c Log: add missing ifdef and avoid "unused variable" warning http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.293&r2=1.294&diff_format=u Index: php-src/sapi/cgi/cgi_main.c diff -u php-src/sapi/cgi/cgi_main.c:1.293 php-src/sapi/cgi/cgi_main.c:1.294 --- php-src/sapi/cgi/cgi_main.c:1.293 Sat Jun 17 11:14:21 2006 +++ php-src/sapi/cgi/cgi_main.c Mon Jun 19 11:38:51 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cgi_main.c,v 1.293 2006/06/17 11:14:21 nlopess Exp $ */ +/* $Id: cgi_main.c,v 1.294 2006/06/19 11:38:51 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -368,8 +368,10 @@ static char *_sapi_cgibin_putenv(char *name, char *value TSRMLS_DC) { int name_len; +#if !HAVE_SETENV || !HAVE_UNSETENV int len; char *buf; +#endif if (!name) { return NULL;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php