diff options
author | Lars Persson | 2005-06-21 22:08:21 +0000 |
---|---|---|
committer | Lars Persson | 2005-06-21 22:08:21 +0000 |
commit | 1c69696a9a8878971c4fa925b074498dab757857 (patch) | |
tree | d8f4f2cfea1a3e01bb7f5f5c58fb812d8029ca96 /base/engine.cpp | |
parent | 4564f0d3bf0d40f5a2ca125df0682969adc8431c (diff) | |
download | scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.gz scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.bz2 scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.zip |
Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).
svn-id: r18430
Diffstat (limited to 'base/engine.cpp')
-rw-r--r-- | base/engine.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/engine.cpp b/base/engine.cpp index f48ca83c96..824d1a15f8 100644 --- a/base/engine.cpp +++ b/base/engine.cpp @@ -193,13 +193,17 @@ void CDECL warning(const char *s, ...) { va_list va; va_start(va, s); +#ifdef __SYMBIAN32__ + vsprintf(buf, s, va); +#else vsnprintf(buf, STRINGBUFLEN, s, va); +#endif va_end(va); #ifdef __GP32__ //ph0x FIXME: implement fprint? printf("WARNING: %s\n", buf); #else -#ifndef _WIN32_WCE +#if !defined (_WIN32_WCE) && !defined (__SYMBIAN32__) fprintf(stderr, "WARNING: %s!\n", buf); #endif #endif |