Index: apr_general.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_general.h,v
retrieving revision 1.62
diff -u -r1.62 apr_general.h
--- apr_general.h	11 Dec 2001 19:40:50 -0000	1.62
+++ apr_general.h	28 Jan 2002 21:41:22 -0000
@@ -133,13 +133,21 @@
  * have it
  */
 #if (!APR_HAVE_STRCASECMP) && (APR_HAVE_STRICMP) 
+#ifdef _MSC_VER
+#define strcasecmp(s1, s2) _stricmp(s1, s2)
+#else 
 #define strcasecmp(s1, s2) stricmp(s1, s2)
+#endif
 #elif (!APR_HAVE_STRCASECMP)
 int strcasecmp(const char *a, const char *b);
 #endif
 
 #if (!APR_HAVE_STRNCASECMP) && (APR_HAVE_STRNICMP)
+#ifdef _MSC_VER
+#define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n)
+#else
 #define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)
+#endif
 #elif (!APR_HAVE_STRNCASECMP)
 int strncasecmp(const char *a, const char *b, size_t n);
 #endif
