Mercurial > sdl-ios-xcode
comparison src/stdlib/SDL_string.c @ 1510:720f8bb49d7d
Win32 fixes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 13 Mar 2006 02:06:33 +0000 |
parents | 73dc5d39bbf8 |
children | 845b1619c8f6 |
comparison
equal
deleted
inserted
replaced
1509:678d105d4492 | 1510:720f8bb49d7d |
---|---|
659 } | 659 } |
660 return (int)((unsigned char)*str1 - (unsigned char)*str2); | 660 return (int)((unsigned char)*str1 - (unsigned char)*str2); |
661 } | 661 } |
662 #endif | 662 #endif |
663 | 663 |
664 #if !defined(HAVE_STRCASECMP) && !defined(HAVE_STRICMP) | 664 #if !defined(HAVE_STRCASECMP) && !defined(HAVE__STRICMP) |
665 int SDL_strcasecmp(const char *str1, const char *str2) | 665 int SDL_strcasecmp(const char *str1, const char *str2) |
666 { | 666 { |
667 char a = 0; | 667 char a = 0; |
668 char b = 0; | 668 char b = 0; |
669 while ( *str1 && *str2 ) { | 669 while ( *str1 && *str2 ) { |