aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
authorMax Horn2011-06-06 11:05:23 +0200
committerMax Horn2011-06-17 20:50:41 +0200
commitf7c1e7d002c21eeaf0b5c06d3527ede532f5cd51 (patch)
treefbec82d9e9f3627bd23d6b1f91c5499335a85d0c /common/system.cpp
parent3599d0708709b9f434c96b9922024a8b87361fb0 (diff)
downloadscummvm-rg350-f7c1e7d002c21eeaf0b5c06d3527ede532f5cd51.tar.gz
scummvm-rg350-f7c1e7d002c21eeaf0b5c06d3527ede532f5cd51.tar.bz2
scummvm-rg350-f7c1e7d002c21eeaf0b5c06d3527ede532f5cd51.zip
COMMON: Remove default implementation of OSystem::logMessage
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/common/system.cpp b/common/system.cpp
index fae7a3ef34..1645a6be10 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -21,11 +21,6 @@
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_exit
-#define FORBIDDEN_SYMBOL_EXCEPTION_FILE
-#define FORBIDDEN_SYMBOL_EXCEPTION_fputs
-#define FORBIDDEN_SYMBOL_EXCEPTION_fflush
-#define FORBIDDEN_SYMBOL_EXCEPTION_stdout
-#define FORBIDDEN_SYMBOL_EXCEPTION_stderr
#include "common/system.h"
#include "common/events.h"
@@ -136,20 +131,6 @@ Common::String OSystem::getDefaultConfigFileName() {
return "scummvm.ini";
}
-void OSystem::logMessage(LogMessageType::Type type, const char *message) {
-#if !defined(__PLAYSTATION2__) && !defined(__DS__)
- FILE *output = 0;
-
- if (type == LogMessageType::kInfo || type == LogMessageType::kDebug)
- output = stdout;
- else
- output = stderr;
-
- fputs(message, output);
- fflush(output);
-#endif
-}
-
Common::String OSystem::getSystemLanguage() const {
return "en_US";
}