aboutsummaryrefslogtreecommitdiff
path: root/ares/windows_port.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-09 10:18:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-09 10:18:09 +0000
commitbe6af69dc73ead538b9086dc646b33172a762078 (patch)
treef7ef36d48a853a4d4ffe7e978e9bd18268af5cad /ares/windows_port.c
parent3a80dc7f3e1ce843b904bae1f448607c529d5a09 (diff)
mingw has str(n)casecmp() functions
Diffstat (limited to 'ares/windows_port.c')
-rw-r--r--ares/windows_port.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/windows_port.c b/ares/windows_port.c
index a168341fd..9619306d8 100644
--- a/ares/windows_port.c
+++ b/ares/windows_port.c
@@ -5,6 +5,7 @@
#include "nameser.h"
+#ifndef __MINGW32__
int
ares_strncasecmp(const char *a, const char *b, size_t n)
{
@@ -23,6 +24,7 @@ ares_strcasecmp(const char *a, const char *b)
{
return strncasecmp(a, b, strlen(a)+1);
}
+#endif
int
ares_gettimeofday(struct timeval *tv, struct timezone *tz)