From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 4 Feb 2004 08:04:28 +0000 (+0000)
Subject: prevent a compiler warning about a macro definition
X-Git-Tag: cares-1_1_0~353
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fa163fdf7ac851d9d7ad38020de2dd64391c2c7;p=curl

prevent a compiler warning about a macro definition
---

diff --git a/ares/nameser.h b/ares/nameser.h
index 95a547976..6f68f41d0 100644
--- a/ares/nameser.h
+++ b/ares/nameser.h
@@ -157,6 +157,7 @@ typedef enum __ns_rcode {
 #define SERVFAIL        ns_r_servfail
 #define NOTIMP          ns_r_notimpl
 #define REFUSED         ns_r_refused
+#undef NOERROR /* it seems this is already defined in winerror.h */
 #define NOERROR         ns_r_noerror
 #define FORMERR         ns_r_formerr
 #define NXDOMAIN        ns_r_nxdomain