diff options
| author | foobar <sniper@php.net> | 2007-04-15 22:54:26 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2007-04-15 22:54:26 +0000 |
| commit | fd9af91146ade971d5aa5b1f6959302dfe382aad (patch) | |
| tree | c87247440ed4cf58deb76449880841510b5e5fe9 /sapi/cgi/php_getopt.h | |
| parent | e2cf497a61111f45b0ca805923ff94e5d67072c0 (diff) | |
| download | php-git-fd9af91146ade971d5aa5b1f6959302dfe382aad.tar.gz | |
MFB: sync getopt from CLI
Diffstat (limited to 'sapi/cgi/php_getopt.h')
| -rw-r--r-- | sapi/cgi/php_getopt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sapi/cgi/php_getopt.h b/sapi/cgi/php_getopt.h index 4bfa433977..fc14c96743 100644 --- a/sapi/cgi/php_getopt.h +++ b/sapi/cgi/php_getopt.h @@ -16,8 +16,17 @@ +----------------------------------------------------------------------+ */ +/* $Id$ */ + #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. */ |
