comparison include/SDL_stdinc.h @ 1512:845b1619c8f6

Added _strnicmp support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Mar 2006 02:12:39 +0000
parents 720f8bb49d7d
children a80e1e0880b8
comparison
equal deleted inserted replaced
1511:de816bde0bf1 1512:845b1619c8f6
521 extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2); 521 extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2);
522 #endif 522 #endif
523 523
524 #if HAVE_STRNCASECMP 524 #if HAVE_STRNCASECMP
525 #define SDL_strncasecmp strncasecmp 525 #define SDL_strncasecmp strncasecmp
526 #elif HAVE__STRNICMP
527 #define SDL_strncasecmp _strnicmp
526 #else 528 #else
527 extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen); 529 extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen);
528 #endif 530 #endif
529 531
530 #if HAVE_SSCANF 532 #if HAVE_SSCANF