aboutsummaryrefslogtreecommitdiff
path: root/backends/symbian/src
diff options
context:
space:
mode:
Diffstat (limited to 'backends/symbian/src')
-rw-r--r--backends/symbian/src/ScummApp.cpp2
-rw-r--r--backends/symbian/src/main_features.inl4
-rw-r--r--backends/symbian/src/portdefs.h4
3 files changed, 8 insertions, 2 deletions
diff --git a/backends/symbian/src/ScummApp.cpp b/backends/symbian/src/ScummApp.cpp
index 07966b4cf5..4315c15065 100644
--- a/backends/symbian/src/ScummApp.cpp
+++ b/backends/symbian/src/ScummApp.cpp
@@ -27,7 +27,7 @@
#define _PAGESIZE_ 0x1000
-#if defined (__WINS__) && !defined (__SERIES60_30__)
+#if defined (__WINS__) && !defined (__SERIES60_30__) && !defined (UIQ3)
extern "C" int _chkstk(int /*a*/) {
_asm {
push ecx
diff --git a/backends/symbian/src/main_features.inl b/backends/symbian/src/main_features.inl
index 906a890925..2e0b008e68 100644
--- a/backends/symbian/src/main_features.inl
+++ b/backends/symbian/src/main_features.inl
@@ -60,3 +60,7 @@
#ifndef DISABLE_LURE
"Lure "
#endif
+#ifndef DISABLE_AGI
+ "AGI "
+#endif
+
diff --git a/backends/symbian/src/portdefs.h b/backends/symbian/src/portdefs.h
index c31fe8caa9..303fde726d 100644
--- a/backends/symbian/src/portdefs.h
+++ b/backends/symbian/src/portdefs.h
@@ -122,7 +122,9 @@
#define snprintf scumm_snprintf
#define vsnprintf scumm_vsnprintf
-
+#else // GCCE and the rest
+ #define snprintf(buf,len,args...) sprintf(buf,args)
+ #define vsnprintf(buf,len,format,valist) vsprintf(buf,format,valist)
#endif
// somehow nobody has this function...