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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Mar 8 18:38:11 CET 2007


Revision: 26024
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26024&view=rev
Author:   fingolfin
Date:     2007-03-08 09:38:11 -0800 (Thu, 08 Mar 2007)

Log Message:
-----------
Moved the printf #define for the NDS into scummsys.h (not sure if that suits your needs Neil, feel free to change it again if necessary)

Modified Paths:
--------------
    scummvm/trunk/common/file.cpp
    scummvm/trunk/common/scummsys.h

Modified: scummvm/trunk/common/file.cpp
===================================================================
--- scummvm/trunk/common/file.cpp	2007-03-08 17:36:52 UTC (rev 26023)
+++ scummvm/trunk/common/file.cpp	2007-03-08 17:38:11 UTC (rev 26024)
@@ -100,7 +100,7 @@
 	#define fseek(handle, offset, whence)		DS::std_fseek(handle, offset, whence)
 	#define clearerr(handle)					DS::std_clearerr(handle)
 
-	#define printf(fmt, ...)					consolePrintf(fmt, ##__VA_ARGS__)
+	//#define printf(fmt, ...)					consolePrintf(fmt, ##__VA_ARGS__)
 
 	//#define fprintf(file, fmt, ...)				{ char str[128]; sprintf(str, fmt, ##__VA_ARGS__); DS::std_fwrite(str, strlen(str), 1, file); }
 	//#define fflush(file)						DS::std_fflush(file)	// used in common/util.cpp

Modified: scummvm/trunk/common/scummsys.h
===================================================================
--- scummvm/trunk/common/scummsys.h	2007-03-08 17:36:52 UTC (rev 26023)
+++ scummvm/trunk/common/scummsys.h	2007-03-08 17:38:11 UTC (rev 26024)
@@ -312,6 +312,8 @@
 
 	#define STRINGBUFLEN 256
 
+	#define printf(fmt, ...)					consolePrintf(fmt, ##__VA_ARGS__)
+
 #else
 	#error No system type defined
 


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