From 2c0dfc447130a90fbd347a2f53b1ad50ce547de7 Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Thu, 4 Mar 2004 21:14:11 +0000 Subject: Avoid flooding CE files since stdin and stderr exist now svn-id: r13184 --- base/engine.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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"); -- cgit v1.2.3