aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian/src/portdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/symbian/src/portdefs.h')
-rw-r--r--backends/platform/symbian/src/portdefs.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h
index 2a26771a0a..c45bac4933 100644
--- a/backends/platform/symbian/src/portdefs.h
+++ b/backends/platform/symbian/src/portdefs.h
@@ -44,10 +44,6 @@
// hack in some tricks to work around not having these fcns for Symbian
// and we _really_ don't wanna link with any other windows LIBC library!
#if defined(__GCC32__)
-
- #define snprintf(buf,len,args...) sprintf(buf,args)
- #define vsnprintf(buf,len,format,valist) vsprintf(buf,format,valist)
-
// taken from public domain http://www.opensource.apple.com/darwinsource/WWDC2004/gcc_legacy-939/gcc/floatlib.c
#define SIGNBIT 0x80000000
#define HIDDEN (1 << 23)
@@ -134,10 +130,10 @@
// Symbian bsearch implementation is flawed
void *scumm_bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
#define bsearch scumm_bsearch
+#define FORBIDDEN_SYMBOL_EXCEPTION_FILE
// we cannot include SymbianOS.h everywhere, but this works too (functions code is in SymbianOS.cpp)
namespace Symbian {
-extern void FatalError(const char *msg);
extern char* GetExecutablePath();
}
#endif