Commit 65e628cc authored by Yang Tse's avatar Yang Tse
Browse files

Fix macro redefinition.
parent 738e5478
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -33,6 +33,12 @@

int ares_getopt(int nargc, char * const nargv[], const char *ostr);

#undef optarg
#undef optind
#undef opterr
#undef optopt
#undef optreset

#define optarg   ares_optarg
#define optind   ares_optind
#define opterr   ares_opterr