aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorLars Persson2008-09-07 10:57:28 +0000
committerLars Persson2008-09-07 10:57:28 +0000
commitc4fcd2b5783ccc6f9a158df632868f4b3da2832d (patch)
tree1000b9c150af5f8309782f4d4121ddf17aabb8bf /backends/fs
parent093431e88d7e886c9b08f024d79a7de386e982f0 (diff)
downloadscummvm-rg350-c4fcd2b5783ccc6f9a158df632868f4b3da2832d.tar.gz
scummvm-rg350-c4fcd2b5783ccc6f9a158df632868f4b3da2832d.tar.bz2
scummvm-rg350-c4fcd2b5783ccc6f9a158df632868f4b3da2832d.zip
Remove symbian defines from stdiostream.cpp
svn-id: r34399
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/stdiostream.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/backends/fs/stdiostream.cpp b/backends/fs/stdiostream.cpp
index 7faeaf1167..f3f20eacb5 100644
--- a/backends/fs/stdiostream.cpp
+++ b/backends/fs/stdiostream.cpp
@@ -106,37 +106,6 @@
#endif
-#ifdef __SYMBIAN32__
- #undef feof
- #undef clearerr
-
- #define FILE void
-
- FILE* symbian_fopen(const char* name, const char* mode);
- void symbian_fclose(FILE* handle);
- size_t symbian_fread(const void* ptr, size_t size, size_t numItems, FILE* handle);
- 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);
- 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)
- #define fread(ptr, size, items, file) symbian_fread(ptr, size, items, file)
- #define fwrite(ptr, size, items, file) symbian_fwrite(ptr, size, items, file)
- #define feof(handle) symbian_feof(handle)
- #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
-
-
StdioStream::StdioStream(void *handle) : _handle(handle) {
assert(handle);
}