1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 01:49:56 +00:00

Undefine 'optarg', 'optind' and 'opterr' when using Watt-32

(to get correct linkage on Windows).
This commit is contained in:
Gisle Vanem
2008-12-08 16:11:16 +00:00
parent f8324d41e3
commit 5078ae0024

View File

@ -33,6 +33,12 @@
int ares_getopt(int nargc, char * const nargv[], const char *ostr);
#if defined(WATT32)
#undef optarg
#undef optind
#undef opterr
#endif
extern char *optarg;
extern int optind;
extern int opterr;