Fix macro redefinition.

pull/1/head
Yang Tse 15 years ago
parent c1f141596e
commit 912857c6f3
  1. 6
      ares_getopt.h

@ -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

Loading…
Cancel
Save