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
|
@ -523,6 +523,8 @@ extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2);
|
|||
|
||||
#if HAVE_STRNCASECMP
|
||||
#define SDL_strncasecmp strncasecmp
|
||||
#elif HAVE__STRNICMP
|
||||
#define SDL_strncasecmp _strnicmp
|
||||
#else
|
||||
extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue