Minor project cleanup:
- Consolidated duplicate PSP / PSPENV defines; - removed some ancillary file crap from the 2010 projects; - pulled 1xx references from the makefiles; - consolidated multiple #defines for OutputDebugString into one header (previously was split between config.h & DebugRoutines.h).
This commit is contained in:
@@ -188,7 +188,7 @@ protected:
|
||||
|
||||
// not sure this is necessary, adding it to potentially prevent SIGHUP on the psp
|
||||
// rumour has it that if a worker thread doesn't allow the main thread a chance to run, it can hang the unit
|
||||
#ifdef PSPENV
|
||||
#ifdef PSP
|
||||
boost::this_thread::sleep(boost::posix_time::milliseconds(10));
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ protected:
|
||||
return true;
|
||||
}
|
||||
|
||||
#if PSPENV
|
||||
#ifdef PSP
|
||||
if (ramAvailableLineareMax() < MIN_LINEAR_RAM)
|
||||
{
|
||||
DebugTrace("Memory below minimum threshold!!");
|
||||
|
||||
@@ -7,9 +7,6 @@
|
||||
|
||||
#if (defined (WIN32) || defined (LINUX)) && defined (_DEBUG)
|
||||
#define TESTSUITE 1
|
||||
|
||||
#else
|
||||
#define OutputDebugString(val) {}
|
||||
#endif
|
||||
|
||||
#include "limits.h"
|
||||
@@ -21,19 +18,6 @@
|
||||
#define NEW new
|
||||
#endif
|
||||
|
||||
#ifdef QT_CONFIG
|
||||
#include <QtGlobal>
|
||||
#define OutputDebugString(val) qDebug(val)
|
||||
#else
|
||||
#ifdef LINUX
|
||||
#ifdef _DEBUG
|
||||
#define OutputDebugString(val) (std::cerr << val);
|
||||
#else
|
||||
#define OutputDebugString(val) {}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef RESPATH
|
||||
#define RESPATH "Res"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user