aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorLars Persson2008-09-05 11:31:51 +0000
committerLars Persson2008-09-05 11:31:51 +0000
commit5c0b91397d559f0a62412a135324f974e50a18eb (patch)
treedbaba584b6696d7a57f87981a3edfa2d3a4a0eb1 /common
parent53f67255966153acafa6b901a560c7e895511503 (diff)
downloadscummvm-rg350-5c0b91397d559f0a62412a135324f974e50a18eb.tar.gz
scummvm-rg350-5c0b91397d559f0a62412a135324f974e50a18eb.tar.bz2
scummvm-rg350-5c0b91397d559f0a62412a135324f974e50a18eb.zip
Updated Symbian OS file actions with ferror and fflush.
svn-id: r34340
Diffstat (limited to 'common')
-rw-r--r--common/file.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp
index cc9ae01baf..5c0668e06f 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -122,7 +122,8 @@
long int symbian_ftell(FILE* handle);
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)
#define fclose(handle) symbian_fclose(handle)
@@ -132,6 +133,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
namespace Common {