aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2004-03-04 21:14:11 +0000
committerNicolas Bacca2004-03-04 21:14:11 +0000
commit2c0dfc447130a90fbd347a2f53b1ad50ce547de7 (patch)
tree6d7f7dccab5da52bc02344a0ebad6aca29f1de96
parent9e1fa63575347e109cb713275b4d733f27a0fe6e (diff)
downloadscummvm-rg350-2c0dfc447130a90fbd347a2f53b1ad50ce547de7.tar.gz
scummvm-rg350-2c0dfc447130a90fbd347a2f53b1ad50ce547de7.tar.bz2
scummvm-rg350-2c0dfc447130a90fbd347a2f53b1ad50ce547de7.zip
Avoid flooding CE files since stdin and stderr exist now
svn-id: r13184
-rw-r--r--base/engine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index d791ffe50c..c1f105a74e 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -103,8 +103,10 @@ void NORETURN CDECL error(const char *s, ...) {
#ifdef __GP32__ //ph0x FIXME?
printf("ERROR: %s\n", buf_output);
#else
+#ifndef _WIN32_WCE
fprintf(stderr, "%s!\n", buf_output);
#endif
+#endif
#if defined( USE_WINDBG )
#if defined( _WIN32_WCE )
@@ -146,8 +148,10 @@ void CDECL warning(const char *s, ...) {
#ifdef __GP32__ //ph0x FIXME: implement fprint?
printf("WARNING: %s\n", buf);
#else
+#ifndef _WIN32_WCE
fprintf(stderr, "WARNING: %s!\n", buf);
#endif
+#endif
#if defined( USE_WINDBG )
strcat(buf, "\n");
#if defined( _WIN32_WCE )
@@ -174,7 +178,9 @@ void CDECL debug(int level, const char *s, ...) {
va_start(va, s);
vsprintf(buf, s, va);
va_end(va);
+#ifndef _WIN32_WCE
printf("%s\n", buf);
+#endif
#if defined( USE_WINDBG )
strcat(buf, "\n");