Skip to content

Commit

Permalink
Fix macro redefinition.
Browse files Browse the repository at this point in the history
  • Loading branch information
yangtse committed Nov 22, 2009
1 parent c1f1415 commit 912857c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ares_getopt.h
Expand Up @@ -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
Expand Down

0 comments on commit 912857c

Please sign in to comment.