diff options
author | Johannes Schickel | 2010-11-28 15:06:36 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-11-28 15:06:36 +0000 |
commit | 27016b303fb094e7c6892f523619831f3add9b0f (patch) | |
tree | 1876fc1eeabbd810aa2e0ca4ce4432455ed22c18 | |
parent | d5840b72f9535e303d340cb8f5f164ddb6fc27ee (diff) | |
download | scummvm-rg350-27016b303fb094e7c6892f523619831f3add9b0f.tar.gz scummvm-rg350-27016b303fb094e7c6892f523619831f3add9b0f.tar.bz2 scummvm-rg350-27016b303fb094e7c6892f523619831f3add9b0f.zip |
SDL: Make SDL backend compile again.
svn-id: r54523
-rw-r--r-- | backends/platform/sdl/sdl.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index 307cf39a97..b2c69dd782 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -44,6 +44,12 @@ #include <time.h> // for getTimeAndDate() +// For logging +#ifdef UNIX +#include <errno.h> +#include <sys/stat.h> +#endif + #ifdef USE_DETECTLANG #ifndef WIN32 #include <locale.h> @@ -412,7 +418,7 @@ Common::String OSystem_SDL::getSystemLanguage() const { return localeName; } else { - return BaseBackend::getSystemLanguage(); + return ModularBackend::getSystemLanguage(); } #else // WIN32 // Activating current locale settings @@ -420,7 +426,7 @@ Common::String OSystem_SDL::getSystemLanguage() const { // Detect the language from the locale if (!locale) { - return BaseBackend::getSystemLanguage(); + return ModularBackend::getSystemLanguage(); } else { int length = 0; @@ -439,7 +445,7 @@ Common::String OSystem_SDL::getSystemLanguage() const { } #endif // WIN32 #else // USE_DETECTLANG - return BaseBackend::getSystemLanguage(); + return ModularBackend::getSystemLanguage(); #endif // USE_DETECTLANG } |