From 65e628cc97cd467ce2d11f0d1aeddaed78a0ee96 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 22 Nov 2009 03:51:07 +0000 Subject: [PATCH] Fix macro redefinition. --- ares/ares_getopt.h | 6 ++++++ 1 file changed, 6 insertions(+) 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