summaryrefslogtreecommitdiff
path: root/nameser.h
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 /nameser.h
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 'nameser.h')
-rw-r--r--nameser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nameser.h b/nameser.h
index 3553f8b..b6c78aa 100644
--- a/nameser.h
+++ b/nameser.h
@@ -211,6 +211,7 @@ typedef enum __ns_rcode {
#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);
@@ -220,5 +221,6 @@ 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 */