mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg
This commit is contained in:
parent
b140c80396
commit
315e58f2f6
@ -20,6 +20,13 @@
|
||||
|
||||
#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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user