diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-22 03:51:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-22 03:51:07 +0000 |
commit | 912857c6f32acfe7e88a95acf7bc00b389619f40 (patch) | |
tree | 853e9fc39bc16deb825f1df295af3a193adb11c5 /ares_getopt.h | |
parent | c1f141596eddc404e0cd360bcc98744cd4a2455c (diff) | |
download | c-ares-912857c6f32acfe7e88a95acf7bc00b389619f40.tar.gz c-ares-912857c6f32acfe7e88a95acf7bc00b389619f40.tar.bz2 c-ares-912857c6f32acfe7e88a95acf7bc00b389619f40.zip |
Fix macro redefinition.
Diffstat (limited to 'ares_getopt.h')
-rw-r--r-- | ares_getopt.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |