Fix macro redefinition.
authorYang Tse <yangsita@gmail.com>
Sun, 22 Nov 2009 03:51:07 +0000 (03:51 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 22 Nov 2009 03:51:07 +0000 (03:51 +0000)
ares/ares_getopt.h

index 3c80749..63acb3b 100644 (file)
 
 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