diff options
Diffstat (limited to 'backends/platform/symbian/src')
| -rw-r--r-- | backends/platform/symbian/src/SymbianOS.cpp | 3 | ||||
| -rw-r--r-- | backends/platform/symbian/src/portdefs.h | 1 | 
2 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index 1fa1daf2df..de2eed4ed2 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -24,6 +24,9 @@  #include <sdlapp.h> // for CSDLApp::GetExecutablePathCStr() @ Symbian::GetExecutablePath()  #include <bautils.h> +#include <eikenv.h> +#define FORBIDDEN_SYMBOL_EXCEPTION_fclose +#define FORBIDDEN_SYMBOL_EXCEPTION_fopen  #include "backends/fs/symbian/symbian-fs-factory.h"  #include "backends/platform/symbian/src/SymbianOS.h" diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h index 99e9107650..c45bac4933 100644 --- a/backends/platform/symbian/src/portdefs.h +++ b/backends/platform/symbian/src/portdefs.h @@ -130,6 +130,7 @@  // 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 {  | 
