From: Yang Tse Date: Sun, 22 Nov 2009 03:51:07 +0000 (+0000) Subject: Fix macro redefinition. X-Git-Tag: curl-7_20_0~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e628cc97cd467ce2d11f0d1aeddaed78a0ee96;p=thirdparty%2Fcurl.git Fix macro redefinition. --- diff --git a/ares/ares_getopt.h b/ares/ares_getopt.h index 3c8074930a..63acb3b423 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