diff options
-rw-r--r-- | base/engine.cpp | 6 |
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"); |