Added _strnicmp support
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401516
This commit is contained in:
parent
2dffc45236
commit
393b8049ba
5 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue