return (ap_array_str_index(array, s, 0) >= 0);
}
-#if !APR_CHARSET_EBCDIC
/*
* Provide our own known-fast implementation of str[n]casecmp()
* NOTE: ASCII only!
}
return (0);
}
-#else
-AP_DECLARE(int) ap_strcasecmp(const char *s1, const char *s2)
-{
- return strcasecmp(s1, s2);
-}
-
-AP_DECLARE(int) ap_strncasecmp(const char *s1, const char *s2, apr_size_t n)
-{
- return strncasecmp(s1, s2, n);
-}
-#endif /*APR_CHARSET_EBCDIC*/