Fixed another infinite recursion accident in stdlib.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 05 Apr 2013 16:34:59 -0400
changeset 7058 64a2c8c882e1
parent 7057 c1563f514b5b
child 7059 cd194e03c1da
Fixed another infinite recursion accident in stdlib.
src/stdlib/SDL_string.c
--- a/src/stdlib/SDL_string.c	Thu Apr 04 11:35:22 2013 -0400
+++ b/src/stdlib/SDL_string.c	Fri Apr 05 16:34:59 2013 -0400
@@ -923,7 +923,7 @@
 
 #ifdef SDL_strcasecmp
 #undef SDL_strcasecmp
-int SDL_strcasecmp(const char *str1, const char *str2) { return SDL_strcasecmp(str1, str2); }
+int SDL_strcasecmp(const char *str1, const char *str2) { return SDL_strcasecmp_inline(str1, str2); }
 #else
 int
 SDL_strcasecmp(const char *str1, const char *str2)