diff options
| author | foobar <sniper@php.net> | 2007-04-15 22:50:58 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2007-04-15 22:50:58 +0000 |
| commit | c71b1401ffaa14dde1cd1932288a90596177fee0 (patch) | |
| tree | b1655de56ad57f29a8122dcdf05050ba2e7e9df7 /sapi/cgi/php_getopt.h | |
| parent | 2f3e330ad00522fc007a48132195e44dd47252ed (diff) | |
| download | php-git-c71b1401ffaa14dde1cd1932288a90596177fee0.tar.gz | |
- Synch these files from sapi/cli/ and allow using s.c. long-options
with CGI.
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. */ |
