WINCE: Add support for language auto-detection in WinCE

This commit is contained in:
CeRiAl 2011-06-13 04:39:38 +02:00
parent e826aaab39
commit 2ff4380c55
4 changed files with 76 additions and 4 deletions

View file

@ -301,7 +301,7 @@ void OSystem_SDL::logMessage(LogMessageType::Type type, const char *message) {
}
Common::String OSystem_SDL::getSystemLanguage() const {
#ifdef USE_DETECTLANG
#if defined(USE_DETECTLANG) && !defined(_WIN32_WCE)
#ifdef WIN32
// We can not use "setlocale" (at least not for MSVC builds), since it
// will return locales like: "English_USA.1252", thus we need a special