[Scummvm-cvs-logs] SF.net SVN: scummvm:[39265] scummvm/branches/branch-0-13-0/common/scummsys. h

agent-q at users.sourceforge.net agent-q at users.sourceforge.net
Mon Mar 9 17:44:11 CET 2009


Revision: 39265
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39265&view=rev
Author:   agent-q
Date:     2009-03-09 16:44:11 +0000 (Mon, 09 Mar 2009)

Log Message:
-----------
DS: An attempt to make printf work

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/common/scummsys.h

Modified: scummvm/branches/branch-0-13-0/common/scummsys.h
===================================================================
--- scummvm/branches/branch-0-13-0/common/scummsys.h	2009-03-09 16:42:10 UTC (rev 39264)
+++ scummvm/branches/branch-0-13-0/common/scummsys.h	2009-03-09 16:44:11 UTC (rev 39265)
@@ -358,8 +358,11 @@
 	#define SCUMMVM_DONT_DEFINE_TYPES
 
 	#define STRINGBUFLEN 256
-	#define printf(fmt, ...)					consolePrintf(fmt, ##__VA_ARGS__)
 
+	#ifndef DISABLE_TEXT_CONSOLE
+		#define printf(fmt, ...)					consolePrintf(fmt, ##__VA_ARGS__)
+	#endif
+
 #elif defined(__WII__)
 
 	#define scumm_stricmp strcasecmp


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