aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_getopt.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-22 03:51:07 +0000
committerYang Tse <yangsita@gmail.com>2009-11-22 03:51:07 +0000
commit65e628cc97cd467ce2d11f0d1aeddaed78a0ee96 (patch)
treeae8b47ad25345fc6aaa58974c591a08d982fb3e1 /ares/ares_getopt.h
parent738e547815c9a799fa12c63715be13b7046fc25a (diff)
Fix macro redefinition.
Diffstat (limited to 'ares/ares_getopt.h')
-rw-r--r--ares/ares_getopt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ares/ares_getopt.h b/ares/ares_getopt.h
index 3c8074930..63acb3b42 100644
--- a/ares/ares_getopt.h
+++ b/ares/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