Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.

This commit is contained in:
Areloch 2017-04-08 20:30:57 -05:00
parent 513789c2c7
commit 26fd24fbab
43 changed files with 35 additions and 356 deletions

View file

@ -40,7 +40,7 @@ class Path
public:
enum Separator
{
#if defined(TORQUE_OS_WIN) || defined(TORQUE_OS_XENON)
#if defined(TORQUE_OS_WIN)
OsSeparator = '\\'
#else
OsSeparator = '/'

View file

@ -1427,7 +1427,7 @@ void String::copy(StringChar* dst, const StringChar *src, U32 len)
//-----------------------------------------------------------------------------
#if defined(TORQUE_OS_WIN) || defined(TORQUE_OS_XBOX) || defined(TORQUE_OS_XENON)
#if defined(TORQUE_OS_WIN)
// This standard function is not defined when compiling with VC7...
#define vsnprintf _vsnprintf
#endif

View file

@ -154,8 +154,4 @@ inline void Swizzle<T, mapLength>::InPlace( void *memory, const dsize_t size ) c
// Template specializations for certain swizzles
//#include "core/util/swizzleSpec.h"
#ifdef TORQUE_OS_XENON
# include "platformXbox/altivecSwizzle.h"
#endif
#endif

View file

@ -100,17 +100,12 @@ typedef struct {
unsigned16 cs; /* saved clock sequence */
} uuid_state;
#if defined(_XBOX)
#include <xtl.h>
#elif defined(_WIN32)
#if defined(_WIN32)
#include <windows.h>
#else
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#ifdef XP_BEOS
#include <be/net/netdb.h>
#endif
#endif
/* set the following to the number of 100ns ticks of the actual resolution of