Permalink
Browse files

Fix macro redefinition.

  • Loading branch information...
yangtse committed Nov 22, 2009
1 parent c1f1415 commit 912857c6f32acfe7e88a95acf7bc00b389619f40
Showing with 6 additions and 0 deletions.
  1. +6 −0 ares_getopt.h
View
@@ -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

0 comments on commit 912857c

Please sign in to comment.