cvs: php-src(PHP_4_4) /sapi/cli php_getopt.h

From: Date: Thu, 01 Sep 2005 09:51:50 +0000
Subject: cvs: php-src(PHP_4_4) /sapi/cli php_getopt.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33726@lists.php.net to get a copy of this message
hyanantha Thu Sep 1 05:51:50 2005 EDT Modified files: (Branch: PHP_4_4) /php-src/sapi/cli php_getopt.h Log: As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg --Kamesh http://cvs.php.net/diff.php/php-src/sapi/cli/php_getopt.h?r1=1.1.8.3&r2=1.1.8.3.6.1&ty=u Index: php-src/sapi/cli/php_getopt.h diff -u php-src/sapi/cli/php_getopt.h:1.1.8.3 php-src/sapi/cli/php_getopt.h:1.1.8.3.6.1 --- php-src/sapi/cli/php_getopt.h:1.1.8.3 Fri May 30 22:20:08 2003 +++ php-src/sapi/cli/php_getopt.h Thu Sep 1 05:51:46 2005 @@ -16,10 +16,17 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_getopt.h,v 1.1.8.3 2003/05/31 02:20:08 helly Exp $ */ +/* $Id: php_getopt.h,v 1.1.8.3.6.1 2005/09/01 09:51:46 hyanantha Exp $ */ #include "php.h" +#ifdef NETWARE +/* +As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg +*/ +#undef optarg +#undef optind +#endif /* Define structure for one recognized option (both single char and long name). * If short_open is '-' this is the last option. */

« previous php.cvs (#33726) next »