summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-15 15:28:26 +0000
committerYang Tse <yangsita@gmail.com>2008-09-15 15:28:26 +0000
commit746f3e2942c36511fda867cac0573d2907290db0 (patch)
treefcd8e397fa6f57dece395bff001bfe7e584cb5ea /setup.h
parentb6e5b752fe22725adda416e551665e45fda1a5e1 (diff)
downloadc-ares-746f3e2942c36511fda867cac0573d2907290db0.tar.gz
c-ares-746f3e2942c36511fda867cac0573d2907290db0.tar.bz2
c-ares-746f3e2942c36511fda867cac0573d2907290db0.zip
rearrange to allow internal/private use of ares_strcasecmp to any system that
lacks the strcasecmp function.
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h13
1 files changed, 0 insertions, 13 deletions
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)