#define T_MAILA ns_t_maila
#define T_ANY ns_t_any
+#ifndef __MINGW32__
/* protos for the functions we provide in windows_port.c */
int ares_strncasecmp(const char *s1, const char *s2, size_t n);
int ares_strcasecmp(const char *s1, const char *s2);
same */
#define strncasecmp(a,b,c) ares_strncasecmp(a,b,c)
#define strcasecmp(a,b) ares_strcasecmp(a,b)
+#endif
#endif /* ARES_NAMESER_H */
#include "nameser.h"
+#ifndef __MINGW32__
int
ares_strncasecmp(const char *a, const char *b, size_t n)
{
{
return strncasecmp(a, b, strlen(a)+1);
}
+#endif
int
ares_gettimeofday(struct timeval *tv, struct timezone *tz)