aboutsummaryrefslogtreecommitdiff
path: root/common/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/engine.cpp')
-rw-r--r--common/engine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/engine.cpp b/common/engine.cpp
index 4540a99fcb..2ccc9a9a4a 100644
--- a/common/engine.cpp
+++ b/common/engine.cpp
@@ -102,7 +102,11 @@ void CDECL warning(const char *s, ...)
vsprintf(buf, s, va);
va_end(va);
+#ifdef __GP32__ //ph0x FIXME: implement fprint?
+ printf("WARNING: %s\n", buf);
+#else
fprintf(stderr, "WARNING: %s!\n", buf);
+#endif
#if defined( USE_WINDBG )
strcat(buf, "\n");
OutputDebugString(buf);