# HG changeset patch # User Sam Lantinga # Date 1184226918 0 # Node ID 9f31740cad2ef35d8072010d922721d024625636 # Parent cc2597da0840786c5c5065841c01ce2ac1c9444c Whoops, needed to remove the other version of getlocale() diff -r cc2597da0840 -r 9f31740cad2e src/stdlib/SDL_iconv.c --- a/src/stdlib/SDL_iconv.c Thu Jul 12 07:52:50 2007 +0000 +++ b/src/stdlib/SDL_iconv.c Thu Jul 12 07:55:18 2007 +0000 @@ -798,27 +798,6 @@ #endif /* !HAVE_ICONV */ -static const char * -getlocale() -{ - const char *lang; - - lang = SDL_getenv("LC_ALL"); - if (!lang) { - lang = SDL_getenv("LC_CTYPE"); - } - if (!lang) { - lang = SDL_getenv("LC_MESSAGES"); - } - if (!lang) { - lang = SDL_getenv("LANG"); - } - if (!lang || SDL_strcmp(lang, "C") == 0) { - lang = "ASCII"; - } - return lang; -} - char * SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesleft)