Added _strnicmp support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401516
This commit is contained in:
Sam Lantinga 2006-03-13 02:12:39 +00:00
parent 2dffc45236
commit 393b8049ba
5 changed files with 6 additions and 2 deletions

View file

@ -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