From 3f01f1b772aa407a92ebafaa28ccb29c4bbf9366 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 Mar 2004 10:18:09 +0000 Subject: mingw has str(n)casecmp() functions --- windows_port.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'windows_port.c') diff --git a/windows_port.c b/windows_port.c index a168341..9619306 100644 --- a/windows_port.c +++ b/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) -- cgit v1.2.3