[Scummvm-cvs-logs] SF.net SVN: scummvm:[34346] scummvm/trunk

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Fri Sep 5 14:02:16 CEST 2008


Revision: 34346
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34346&view=rev
Author:   anotherguest
Date:     2008-09-05 12:02:15 +0000 (Fri, 05 Sep 2008)

Log Message:
-----------
Updated filehandling for Symbian OS

Modified Paths:
--------------
    scummvm/trunk/backends/fs/stdiostream.cpp
    scummvm/trunk/common/file.cpp

Modified: scummvm/trunk/backends/fs/stdiostream.cpp
===================================================================
--- scummvm/trunk/backends/fs/stdiostream.cpp	2008-09-05 11:59:33 UTC (rev 34345)
+++ scummvm/trunk/backends/fs/stdiostream.cpp	2008-09-05 12:02:15 UTC (rev 34346)
@@ -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
 
 

Modified: scummvm/trunk/common/file.cpp
===================================================================
--- scummvm/trunk/common/file.cpp	2008-09-05 11:59:33 UTC (rev 34345)
+++ scummvm/trunk/common/file.cpp	2008-09-05 12:02:15 UTC (rev 34346)
@@ -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
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list