COMMON: Move port specific '#define fputs' from util.cpp to textconsole.cpp
svn-id: r48280
This commit is contained in:
parent
d78dba3bca
commit
3e63df5415
2 changed files with 18 additions and 18 deletions
|
@ -25,6 +25,24 @@
|
||||||
#include "common/textconsole.h"
|
#include "common/textconsole.h"
|
||||||
#include "common/system.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 {
|
namespace Common {
|
||||||
|
|
||||||
static OutputFormatter s_errorOutputFormatter = 0;
|
static OutputFormatter s_errorOutputFormatter = 0;
|
||||||
|
|
|
@ -28,24 +28,6 @@
|
||||||
|
|
||||||
#include <stdarg.h> // For va_list etc.
|
#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 {
|
namespace Common {
|
||||||
|
|
||||||
StringTokenizer::StringTokenizer(const String &str, const String &delimiters) : _str(str), _delimiters(delimiters) {
|
StringTokenizer::StringTokenizer(const String &str, const String &delimiters) : _str(str), _delimiters(delimiters) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue