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 | 65e628cc97cd467ce2d11f0d1aeddaed78a0ee96 (patch) | |
tree | ae8b47ad25345fc6aaa58974c591a08d982fb3e1 | |
parent | 738e547815c9a799fa12c63715be13b7046fc25a (diff) |
Fix macro redefinition.
-rw-r--r-- | ares/ares_getopt.h | 6 |
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 |