diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 10:18:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 10:18:09 +0000 |
commit | be6af69dc73ead538b9086dc646b33172a762078 (patch) | |
tree | f7ef36d48a853a4d4ffe7e978e9bd18268af5cad /ares/nameser.h | |
parent | 3a80dc7f3e1ce843b904bae1f448607c529d5a09 (diff) | |
download | curl-be6af69dc73ead538b9086dc646b33172a762078.tar.gz |
mingw has str(n)casecmp() functions
Diffstat (limited to 'ares/nameser.h')
-rw-r--r-- | ares/nameser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/nameser.h b/ares/nameser.h index 3553f8bad..b6c78aa6d 100644 --- a/ares/nameser.h +++ b/ares/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 */ |