[Scummvm-cvs-logs] SF.net SVN: scummvm:[48280] scummvm/trunk/common
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Mar 18 16:07:30 CET 2010
Revision: 48280
http://scummvm.svn.sourceforge.net/scummvm/?rev=48280&view=rev
Author: fingolfin
Date: 2010-03-18 15:07:30 +0000 (Thu, 18 Mar 2010)
Log Message:
-----------
COMMON: Move port specific '#define fputs' from util.cpp to textconsole.cpp
Modified Paths:
--------------
scummvm/trunk/common/textconsole.cpp
scummvm/trunk/common/util.cpp
Modified: scummvm/trunk/common/textconsole.cpp
===================================================================
--- scummvm/trunk/common/textconsole.cpp 2010-03-18 15:07:11 UTC (rev 48279)
+++ scummvm/trunk/common/textconsole.cpp 2010-03-18 15:07:30 UTC (rev 48280)
@@ -25,6 +25,24 @@
#include "common/textconsole.h"
#include "common/system.h"
+#ifdef _WIN32_WCE
+// This is required for the debugger attachment
+extern bool isSmartphone();
+#endif
+
+#ifdef __PLAYSTATION2__
+ // for those replaced fopen/fread/etc functions
+ #include "backends/platform/ps2/fileio.h"
+
+ #define fputs(str, file) ps2_fputs(str, file)
+#endif
+
+#ifdef __DS__
+ #include "backends/fs/ds/ds-fs.h"
+
+ #define fputs(str, file) DS::std_fwrite(str, strlen(str), 1, file)
+#endif
+
namespace Common {
static OutputFormatter s_errorOutputFormatter = 0;
Modified: scummvm/trunk/common/util.cpp
===================================================================
--- scummvm/trunk/common/util.cpp 2010-03-18 15:07:11 UTC (rev 48279)
+++ scummvm/trunk/common/util.cpp 2010-03-18 15:07:30 UTC (rev 48280)
@@ -28,24 +28,6 @@
#include <stdarg.h> // For va_list etc.
-#ifdef _WIN32_WCE
-// This is required for the debugger attachment
-extern bool isSmartphone();
-#endif
-
-#ifdef __PLAYSTATION2__
- // for those replaced fopen/fread/etc functions
- #include "backends/platform/ps2/fileio.h"
-
- #define fputs(str, file) ps2_fputs(str, file)
-#endif
-
-#ifdef __DS__
- #include "backends/fs/ds/ds-fs.h"
-
- #define fputs(str, file) DS::std_fwrite(str, strlen(str), 1, file)
-#endif
-
namespace Common {
StringTokenizer::StringTokenizer(const String &str, const String &delimiters) : _str(str), _delimiters(delimiters) {
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