aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/textconsole.cpp18
-rw-r--r--common/util.cpp18
2 files changed, 18 insertions, 18 deletions
diff --git a/common/textconsole.cpp b/common/textconsole.cpp
index a74540ea73..eef58fa39c 100644
--- a/common/textconsole.cpp
+++ b/common/textconsole.cpp
@@ -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;
diff --git a/common/util.cpp b/common/util.cpp
index e645ce639b..6ab9f9d7d4 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -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) {