summaryrefslogtreecommitdiff
path: root/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
commit3f01f1b772aa407a92ebafaa28ccb29c4bbf9366 (patch)
tree98e993853e392045a9d5403342a7ab1de17dedaf /windows_port.c
parent9df1eda502f8e01803c69cfa2708b217a5b3af15 (diff)
downloadc-ares-3f01f1b772aa407a92ebafaa28ccb29c4bbf9366.tar.gz
c-ares-3f01f1b772aa407a92ebafaa28ccb29c4bbf9366.tar.bz2
c-ares-3f01f1b772aa407a92ebafaa28ccb29c4bbf9366.zip
mingw has str(n)casecmp() functions
Diffstat (limited to 'windows_port.c')
-rw-r--r--windows_port.c2
1 files changed, 2 insertions, 0 deletions
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)