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.
*/
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php