aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2008-09-05 12:02:15 +0000
committerLars Persson2008-09-05 12:02:15 +0000
commit80dd18a8207396460d482c22c679aaf42ba7fef0 (patch)
tree51f14283dd8fd03689bc0e282e01ec5ff6b8fa01
parent5308f12c759340577000991e5466e9dd8ae222c4 (diff)
downloadscummvm-rg350-80dd18a8207396460d482c22c679aaf42ba7fef0.tar.gz
scummvm-rg350-80dd18a8207396460d482c22c679aaf42ba7fef0.tar.bz2
scummvm-rg350-80dd18a8207396460d482c22c679aaf42ba7fef0.zip
Updated filehandling for Symbian OS
svn-id: r34346
-rw-r--r--backends/fs/stdiostream.cpp6
-rw-r--r--common/file.cpp2
2 files changed, 6 insertions, 2 deletions
diff --git a/backends/fs/stdiostream.cpp b/backends/fs/stdiostream.cpp
index 70739cab08..f2d0d30164 100644
--- a/backends/fs/stdiostream.cpp
+++ b/backends/fs/stdiostream.cpp
@@ -118,8 +118,10 @@
size_t symbian_fwrite(const void* ptr, size_t size, size_t numItems, FILE* handle);
bool symbian_feof(FILE* handle);
long int symbian_ftell(FILE* handle);
- int symbian_fseek(FILE* handle, long int offset, int whence);
+ int symbian_fseek(FILE* handle, long int offset, int whence);
void symbian_clearerr(FILE* handle);
+ void symbian_fflush(FILE* handle);
+ int symbian_ferror(FILE* handle);
// Only functions used in the ScummVM source have been defined here!
#define fopen(name, mode) symbian_fopen(name, mode)
@@ -130,6 +132,8 @@
#define ftell(handle) symbian_ftell(handle)
#define fseek(handle, offset, whence) symbian_fseek(handle, offset, whence)
#define clearerr(handle) symbian_clearerr(handle)
+ #define fflush(handle) symbian_fflush(handle)
+ #define ferror(handle) symbian_ferror(handle)
#endif
diff --git a/common/file.cpp b/common/file.cpp
index 090606d523..a6036f83b3 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -133,7 +133,7 @@
#define ftell(handle) symbian_ftell(handle)
#define fseek(handle, offset, whence) symbian_fseek(handle, offset, whence)
#define clearerr(handle) symbian_clearerr(handle)
- #define fflush(handle) symbian_fflush(handle)
+ #define fflush(handle) symbian_fflush(handle)
#define ferror(handle) symbian_ferror(handle)
#endif