projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
738e547
)
Fix macro redefinition.
author
Yang Tse
<yangsita@gmail.com>
Sun, 22 Nov 2009 03:51:07 +0000
(
03:51
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Sun, 22 Nov 2009 03:51:07 +0000
(
03:51
+0000)
ares/ares_getopt.h
patch
|
blob
|
history
diff --git
a/ares/ares_getopt.h
b/ares/ares_getopt.h
index
3c80749
..
63acb3b
100644
(file)
--- 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