Avoid flooding CE files since stdin and stderr exist now

svn-id: r13184
This commit is contained in:
Nicolas Bacca 2004-03-04 21:14:11 +00:00
parent 9e1fa63575
commit 2c0dfc4471

View file

@ -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");