From 746f3e2942c36511fda867cac0573d2907290db0 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 15 Sep 2008 15:28:26 +0000 Subject: rearrange to allow internal/private use of ares_strcasecmp to any system that lacks the strcasecmp function. --- setup.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'setup.h') diff --git a/setup.h b/setup.h index 5ae3b9e..5a8b2fa 100644 --- a/setup.h +++ b/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) -- cgit v1.2.3