diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-15 15:28:26 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-15 15:28:26 +0000 |
commit | 8085c7a4500467df01d82b381e6830b2caf2dbbe (patch) | |
tree | f5a0f07505ba317ec9d197360ad5ca7eee0599b4 /ares/setup.h | |
parent | 842de91168f86858415069192782212526cc9ebe (diff) | |
download | curl-8085c7a4500467df01d82b381e6830b2caf2dbbe.tar.gz |
rearrange to allow internal/private use of ares_strcasecmp to any system that
lacks the strcasecmp function.
Diffstat (limited to 'ares/setup.h')
-rw-r--r-- | ares/setup.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ares/setup.h b/ares/setup.h index 5ae3b9e4e..5a8b2fa6a 100644 --- a/ares/setup.h +++ b/ares/setup.h @@ -139,19 +139,6 @@ #define HAVE_SYS_UIO_H #endif -#if (defined(WIN32) || defined(WATT32)) && \ - !(defined(__MINGW32__) || defined(NETWARE) || defined(__DJGPP__)) -/* protos for the functions we provide in windows_port.c */ -int ares_strncasecmp(const char *s1, const char *s2, int n); -int ares_strcasecmp(const char *s1, const char *s2); - -/* use this define magic to prevent us from adding symbol names to the library - that is a high-risk to collide with another libraries' attempts to do the - same */ -#define strncasecmp(a,b,c) ares_strncasecmp(a,b,c) -#define strcasecmp(a,b) ares_strcasecmp(a,b) -#endif - /* IPv6 compatibility */ #if !defined(HAVE_AF_INET6) #if defined(HAVE_PF_INET6) |