prevent a compiler warning about a macro definition
authorDaniel Stenberg <daniel@haxx.se>
Wed, 4 Feb 2004 08:04:28 +0000 (08:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 4 Feb 2004 08:04:28 +0000 (08:04 +0000)
ares/nameser.h

index 95a5479..6f68f41 100644 (file)
@@ -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