From 912857c6f32acfe7e88a95acf7bc00b389619f40 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 22 Nov 2009 03:51:07 +0000 Subject: Fix macro redefinition. --- ares_getopt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ares_getopt.h b/ares_getopt.h index 3c80749..63acb3b 100644 --- a/ares_getopt.h +++ b/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 -- cgit v1.2.3