# define strcoll strcmp
#endif
-/*****************************************************************************
- * strnlen:
- *****************************************************************************/
-#if !defined( HAVE_STRNLEN )
-size_t vlc_strnlen( const char *psz, size_t n )
-{
- const char *psz_end = memchr( psz, 0, n );
- return psz_end ? (size_t)( psz_end - psz ) : n;
-}
-#endif
-
/*****************************************************************************
* strcasecmp: compare two strings ignoring case
*****************************************************************************/