diff options
-rw-r--r-- | backends/fs/stdiostream.cpp | 6 | ||||
-rw-r--r-- | common/file.cpp | 2 |
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 |