Added _strnicmp support

This commit is contained in:
Sam Lantinga
2006-03-13 02:12:39 +00:00
parent ef9f176174
commit 3227f8dde8
5 changed files with 6 additions and 2 deletions

View File

@@ -678,7 +678,7 @@ int SDL_strcasecmp(const char *str1, const char *str2)
}
#endif
#ifndef HAVE_STRNCASECMP
#if !defined(HAVE_STRNCASECMP) && !defined(HAVE__STRNICMP)
int SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen)
{
char a = 0;